Fix warning message showing in login page

master
tcdlpds 2 months ago
parent 44285e4000
commit a28dfebfbb

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