From db920fcc71eec849dcebf3785d65d39c76183328 Mon Sep 17 00:00:00 2001 From: ThilinaPremachandra Date: Wed, 27 Sep 2023 13:37:59 +0530 Subject: [PATCH] Modify device-types scope permissions --- .../mgt/api/jaxrs/service/api/GroupManagementService.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/device-mgt/io.entgra.device.mgt.core.device.mgt.api/src/main/java/io/entgra/device/mgt/core/device/mgt/api/jaxrs/service/api/GroupManagementService.java b/components/device-mgt/io.entgra.device.mgt.core.device.mgt.api/src/main/java/io/entgra/device/mgt/core/device/mgt/api/jaxrs/service/api/GroupManagementService.java index 94cf447f92..fdf516808e 100644 --- a/components/device-mgt/io.entgra.device.mgt.core.device.mgt.api/src/main/java/io/entgra/device/mgt/core/device/mgt/api/jaxrs/service/api/GroupManagementService.java +++ b/components/device-mgt/io.entgra.device.mgt.core.device.mgt.api/src/main/java/io/entgra/device/mgt/core/device/mgt/api/jaxrs/service/api/GroupManagementService.java @@ -182,13 +182,6 @@ import java.util.List; description = "View whether the groups has relevant device types", key = "perm:groups:devices-types", roles = {"Internal/devicemgt-user"}, - permissions = {"/device-mgt/groups/devices/types"} - ), - @Scope( - name = "View whether the groups has relevant device types", - description = "View whether the groups has relevant device types", - key = "perm:groups:add", - roles = {"Internal/devicemgt-user"}, permissions = {"/device-mgt/groups/device-types"} ) } -- 2.36.3