Merge pull request 'Fix warning message showing in login page' (#80) from tcdlpds/device-mgt-plugins:master into master

Reviewed-on: community/device-mgt-plugins#80
master
Navod Zoysa 2 months ago
commit b1f45852c1

@ -231,7 +231,7 @@ import java.util.List;
@Scope( @Scope(
name = "Password Policy", name = "Password Policy",
description = "Set password policy of an Android Device", description = "Set password policy of an Android Device",
key = "and:ops:password-policy", key = "and:ops:pwd-policy",
roles = {"Internal/devicemgt-admin"}, roles = {"Internal/devicemgt-admin"},
permissions = {"/device-mgt/devices/owning-device/operations/android/password-policy"} permissions = {"/device-mgt/devices/owning-device/operations/android/password-policy"}
), ),
@ -1751,7 +1751,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:password-policy") @ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:pwd-policy")
}) })
} }
) )

@ -21,7 +21,7 @@
"and:ops:mute", "and:ops:mute",
"and:ops:change-lock-code", "and:ops:change-lock-code",
"and:ops:blacklist-app", "and:ops:blacklist-app",
"and:ops:password-policy", "and:ops:pwd-policy",
"and:ops:encrypt-storage", "and:ops:encrypt-storage",
"and:ops:clear-password", "and:ops:clear-password",
"and:ops:enterprise-wipe", "and:ops:enterprise-wipe",

Loading…
Cancel
Save