diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/webapp/META-INF/permissions.xml b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/webapp/META-INF/permissions.xml index 4ce7a039be..f1b5ca435a 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/webapp/META-INF/permissions.xml +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/webapp/META-INF/permissions.xml @@ -35,7 +35,7 @@ Lock /device-mgt/android/operations/lock - /operation/lock + /admin/devices/lock-devices POST emm_admin,emm_user @@ -51,7 +51,7 @@ Mute /device-mgt/android/operations/mute - /operation/mute + /admin/devices/mute POST emm_admin,emm_user @@ -59,14 +59,14 @@ Location /device-mgt/android/operations/location - /operation/location + /admin/devices/location POST emm_admin,emm_user Clear Passcode - /operation/clear-password/ + /admin/devices/clear-password POST emm_admin @@ -74,7 +74,7 @@ Camera /device-mgt/android/operations/camera - /operation/camera + /admin/devices/control-camera POST emm_admin,emm_user @@ -82,7 +82,7 @@ Device Info /device-mgt/android/operations/device-info - /operation/device-info + /admin/devices/info POST emm_admin,emm_user @@ -90,7 +90,7 @@ Enterprise Wipe /device-mgt/android/operations/enterprise-wipe - /operation/enterprise-wipe + /admin/devices/enterprise-wipe POST emm_admin @@ -98,7 +98,7 @@ Wipe Data /device-mgt/android/operations/wipe-data - /operation/wipe-data + /admin/devices/wipe POST emm_admin @@ -106,7 +106,7 @@ Application List /device-mgt/android/operations/application-list - /operation/application-list + /admin/devices/applications POST emm_admin,emm_user @@ -114,7 +114,7 @@ Ring /device-mgt/android/operations/ring-device - /operation/ring-device + /admin/devices/ring POST emm_admin,emm_user @@ -122,7 +122,7 @@ Reboot /device-mgt/android/operations/reboot-device - /operation/reboot-device + /admin/devices/reboot POST emm_admin,emm_user @@ -130,15 +130,15 @@ Upgrade Firmware /device-mgt/android/operations/upgrade-firmware - /operation/upgrade-firmware + /admin/devices/upgrade-firmware POST - emm_admin,emm_user + emm_admin Configure VPN /device-mgt/android/operations/vpn - /operation/vpn + /admin/devices/configure-vpn POST emm_admin,emm_user @@ -154,7 +154,7 @@ Update Application /device-mgt/android/operations/update-application - /operation/update-application + /admin/devices/update-application POST emm_admin,emm_user @@ -162,7 +162,7 @@ Uninstall Application /device-mgt/android/operations/uninstall-application - /operation/uninstall-application + /admin/devices/uninstall-application POST emm_admin,emm_user @@ -170,7 +170,7 @@ Blacklist Applications /device-mgt/android/operations/blacklist-applications - /operation/blacklist-applications + /admin/devices/blacklist-applications POST emm_admin @@ -178,7 +178,7 @@ Notification /device-mgt/android/operations/notification - /operation/notification + /admin/devices/send-notification POST emm_admin,emm_user @@ -186,7 +186,7 @@ Wifi /device-mgt/android/operations/wifi - /operation/wifi + /admin/devices/configure-wifi POST emm_admin @@ -194,7 +194,7 @@ Encryption /device-mgt/android/operations/encrypt - /operation/encrypt + /admin/devices/encrypt-storage POST emm_admin @@ -202,7 +202,7 @@ Change lock code /device-mgt/android/operations/change-lock-code - /operation/change-lock-code + /admin/devices/change-lock-code POST emm_admin @@ -210,7 +210,7 @@ Password Policy /device-mgt/android/operations/password-policy - /operation/password-policy + /admin/devices/set-password-policy POST emm_admin @@ -218,7 +218,7 @@ Webclip /device-mgt/android/operations/webclip - /operation/webclip + /admin/devices/set-webclip POST emm_admin