Merge pull request 'Update scope values' (#83) from tcdlpds/device-mgt-plugins:master into master

Reviewed-on: community/device-mgt-plugins#83
master
Navod Zoysa 3 months ago
commit 2142082951

@ -91,7 +91,7 @@ import java.util.List;
@Scope( @Scope(
name = "Clear Password", name = "Clear Password",
description = "Clear the password on Android devices", description = "Clear the password on Android devices",
key = "and:ops:clear-password", key = "and:ops:clear-pwd",
roles = {"Internal/devicemgt-admin"}, roles = {"Internal/devicemgt-admin"},
permissions = {"/device-mgt/devices/owning-device/operations/android/clear-password"} permissions = {"/device-mgt/devices/owning-device/operations/android/clear-password"}
), ),
@ -511,7 +511,7 @@ public interface DeviceManagementAdminService {
tags = "Android Device Management Administrative Service", tags = "Android Device Management Administrative Service",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:clear-password") @ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:clear-pwd")
}) })
} }
) )

@ -23,7 +23,7 @@
"and:ops:blacklist-app", "and:ops:blacklist-app",
"and:ops:pwd-policy", "and:ops:pwd-policy",
"and:ops:encrypt-storage", "and:ops:encrypt-storage",
"and:ops:clear-password", "and:ops:clear-pwd",
"and:ops:enterprise-wipe", "and:ops:enterprise-wipe",
"and:ops:device-info", "and:ops:device-info",
"and:conf:view", "and:conf:view",

Loading…
Cancel
Save