From 56efec478b6c8ed222dafc71e69a6dac73c4bc0b 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 83a11bd1f..a4506b160 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 @@ -75,14 +75,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"} ) } )