mapping permissions with scopes

apim420^2^2^2
Viranga Gunarathna 1 year ago
parent 92d1f88ac1
commit 789d5ada3d

@ -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"}
)
}
)

Loading…
Cancel
Save