Fix not detecting resource path

This commit is contained in:
Rajitha Kumara 2023-10-20 14:48:38 +05:30
parent a7387fda31
commit 9054329e34

View File

@ -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",