From 9054329e34cbf6814706f35a92f0d9c90143db7f Mon Sep 17 00:00:00 2001 From: Rajitha Kumara Date: Fri, 20 Oct 2023 14:48:38 +0530 Subject: [PATCH] Fix not detecting resource path --- .../service/api/admin/DeviceTypeManagementAdminService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/admin/DeviceTypeManagementAdminService.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/admin/DeviceTypeManagementAdminService.java index ed5add345b..55122c2bd0 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/admin/DeviceTypeManagementAdminService.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/admin/DeviceTypeManagementAdminService.java @@ -75,7 +75,7 @@ import javax.ws.rs.core.Response; description = "Add, Edit or View a Device Type", key = "dm:admin:device-type:modify", roles = {"Internal/devicemgt-admin"}, - permissions = {"/device-mgt/admin/device-type"} + permissions = {"/device-mgt/admin/device-type/modify"} ), @Scope( name = "Getting Details of a Device Type",