From 789d5ada3d5c1f1d074e0754ab6aed6205f6917c Mon Sep 17 00:00:00 2001 From: Viranga Gunarathna Date: Thu, 12 Oct 2023 15:56:19 +0530 Subject: [PATCH] mapping permissions with scopes --- .../android/api/services/DeviceTypeConfigurationService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/main/java/io/entgra/device/mgt/plugins/mobile/android/api/services/DeviceTypeConfigurationService.java b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/main/java/io/entgra/device/mgt/plugins/mobile/android/api/services/DeviceTypeConfigurationService.java index 6ef1252dc..f43af679b 100644 --- a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/main/java/io/entgra/device/mgt/plugins/mobile/android/api/services/DeviceTypeConfigurationService.java +++ b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/main/java/io/entgra/device/mgt/plugins/mobile/android/api/services/DeviceTypeConfigurationService.java @@ -76,14 +76,14 @@ import javax.ws.rs.core.Response; description = "Getting Android Platform Configurations", key = "and:conf:view", roles = {"Internal/devicemgt-user"}, - permissions = {"/device-mgt/devices/enroll/android"} + permissions = {"/device-mgt/platform-configurations/android/view"} ), @Scope( name = "Manage Configurations", description = "Updating Android Platform Configurations", key = "and:conf:manage", roles = {"Internal/devicemgt-user"}, - permissions = {"/device-mgt/platform-configurations/manage"} + permissions = {"/device-mgt/platform-configurations/android/manage"} ) } )