mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge pull request 'Fix scope-permission mapping issue' (#32) from viranga/device-mgt-plugins:scope-fixes into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-plugins/pulls/32
This commit is contained in:
commit
a1ed514be1
@ -76,14 +76,14 @@ import javax.ws.rs.core.Response;
|
|||||||
description = "Getting Android Platform Configurations",
|
description = "Getting Android Platform Configurations",
|
||||||
key = "and:conf:view",
|
key = "and:conf:view",
|
||||||
roles = {"Internal/devicemgt-user"},
|
roles = {"Internal/devicemgt-user"},
|
||||||
permissions = {"/device-mgt/devices/enroll/android"}
|
permissions = {"/device-mgt/platform-configurations/android/view"}
|
||||||
),
|
),
|
||||||
@Scope(
|
@Scope(
|
||||||
name = "Manage Configurations",
|
name = "Manage Configurations",
|
||||||
description = "Updating Android Platform Configurations",
|
description = "Updating Android Platform Configurations",
|
||||||
key = "and:conf:manage",
|
key = "and:conf:manage",
|
||||||
roles = {"Internal/devicemgt-user"},
|
roles = {"Internal/devicemgt-user"},
|
||||||
permissions = {"/device-mgt/platform-configurations/manage"}
|
permissions = {"/device-mgt/platform-configurations/android/manage"}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user