From a28dfebfbb99486af204d66ce0b0fc16f50d2a6a Mon Sep 17 00:00:00 2001 From: tcdlpds Date: Tue, 24 Sep 2024 06:34:55 +0530 Subject: [PATCH] Fix warning message showing in login page --- .../android/api/services/DeviceManagementAdminService.java | 4 ++-- .../private/config.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/main/java/io/entgra/device/mgt/plugins/mobile/android/api/services/DeviceManagementAdminService.java b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/main/java/io/entgra/device/mgt/plugins/mobile/android/api/services/DeviceManagementAdminService.java index f6dcb918e..7fb9e2772 100644 --- a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/main/java/io/entgra/device/mgt/plugins/mobile/android/api/services/DeviceManagementAdminService.java +++ b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/main/java/io/entgra/device/mgt/plugins/mobile/android/api/services/DeviceManagementAdminService.java @@ -231,7 +231,7 @@ import java.util.List; @Scope( name = "Password Policy", description = "Set password policy of an Android Device", - key = "and:ops:password-policy", + key = "and:ops:pwd-policy", roles = {"Internal/devicemgt-admin"}, permissions = {"/device-mgt/devices/owning-device/operations/android/password-policy"} ), @@ -1751,7 +1751,7 @@ public interface DeviceManagementAdminService { tags = "Android Device Management Administrative Service", extensions = { @Extension(properties = { - @ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:password-policy") + @ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:pwd-policy") }) } ) diff --git a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/private/config.json b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/private/config.json index ece5617ae..7d4eb8854 100644 --- a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/private/config.json +++ b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/private/config.json @@ -21,7 +21,7 @@ "and:ops:mute", "and:ops:change-lock-code", "and:ops:blacklist-app", - "and:ops:password-policy", + "and:ops:pwd-policy", "and:ops:encrypt-storage", "and:ops:clear-password", "and:ops:enterprise-wipe",