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 2839966fbf..89527545ae 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 @@ -34,7 +34,7 @@ Lock - /device-mgt/emm-admin/operations/android/lock + /device-mgt/admin/operations/android/lock /admin/devices/lock-devices POST emm_admin,emm_user @@ -42,7 +42,7 @@ Unlock - /device-mgt/emm-admin/operations/android/unlock + /device-mgt/admin/operations/android/unlock /admin/devices/unlock-devices POST emm_admin,emm_user @@ -50,7 +50,7 @@ Mute - /device-mgt/emm-admin/operations/android/mute + /device-mgt/admin/operations/android/mute /admin/devices/mute POST emm_admin,emm_user @@ -58,7 +58,7 @@ Location - /device-mgt/emm-admin/operations/android/location + /device-mgt/admin/operations/android/location /admin/devices/location POST emm_admin,emm_user @@ -66,7 +66,7 @@ Clear Passcode - /device-mgt/emm-admin/operations/android/clear-password + /device-mgt/admin/operations/android/clear-password /admin/devices/clear-password POST emm_admin @@ -74,7 +74,7 @@ Camera - /device-mgt/emm-admin/operations/android/camera + /device-mgt/admin/operations/android/camera /admin/devices/control-camera POST emm_admin,emm_user @@ -82,7 +82,7 @@ Device Info - /device-mgt/emm-admin/operations/android/device-info + /device-mgt/admin/operations/android/device-info /admin/devices/info POST emm_admin,emm_user @@ -90,7 +90,7 @@ Enterprise Wipe - /device-mgt/emm-admin/operations/android/enterprise-wipe + /device-mgt/admin/operations/android/enterprise-wipe /admin/devices/enterprise-wipe POST emm_admin @@ -98,7 +98,7 @@ Wipe Data - /device-mgt/emm-admin/operations/android/wipe-data + /device-mgt/admin/operations/android/wipe-data /admin/devices/wipe POST emm_admin @@ -106,7 +106,7 @@ Application List - /device-mgt/emm-admin/operations/android/application-list + /device-mgt/admin/operations/android/application-list /admin/devices/applications POST emm_admin,emm_user @@ -114,7 +114,7 @@ Ring - /device-mgt/emm-admin/operations/android/ring-device + /device-mgt/admin/operations/android/ring-device /admin/devices/ring POST emm_admin,emm_user @@ -122,7 +122,7 @@ Reboot - /device-mgt/emm-admin/operations/android/reboot-device + /device-mgt/admin/operations/android/reboot-device /admin/devices/reboot POST emm_admin,emm_user @@ -130,7 +130,7 @@ Upgrade Firmware - /device-mgt/emm-admin/operations/android/upgrade-firmware + /device-mgt/admin/operations/android/upgrade-firmware /admin/devices/upgrade-firmware POST emm_admin @@ -138,7 +138,7 @@ Configure VPN - /device-mgt/emm-admin/operations/android/vpn + /device-mgt/admin/operations/android/vpn /admin/devices/configure-vpn POST emm_admin,emm_user @@ -154,7 +154,7 @@ Update Application - /device-mgt/emm-admin/operations/android/install-application + /device-mgt/admin/operations/android/install-application /admin/devices/update-application POST emm_admin,emm_user @@ -162,7 +162,7 @@ Uninstall Application - /device-mgt/emm-admin/operations/android/uninstall-application + /device-mgt/admin/operations/android/uninstall-application /admin/devices/uninstall-application POST emm_admin,emm_user @@ -170,7 +170,7 @@ Blacklist Applications - /device-mgt/emm-admin/operations/android/blacklist-applications + /device-mgt/admin/operations/android/blacklist-applications /admin/devices/blacklist-applications POST emm_admin @@ -178,7 +178,7 @@ Notification - /device-mgt/emm-admin/operations/android/notification + /device-mgt/admin/operations/android/notification /admin/devices/send-notification POST emm_admin,emm_user @@ -186,7 +186,7 @@ Wifi - /device-mgt/emm-admin/operations/android/wifi + /device-mgt/admin/operations/android/wifi /admin/devices/configure-wifi POST emm_admin @@ -194,7 +194,7 @@ Encryption - /device-mgt/emm-admin/operations/android/encrypt + /device-mgt/admin/operations/android/encrypt /admin/devices/encrypt-storage POST emm_admin @@ -202,7 +202,7 @@ Change lock code - /device-mgt/emm-admin/operations/android/change-lock-code + /device-mgt/admin/operations/android/change-lock-code /admin/devices/change-lock-code POST emm_admin @@ -210,7 +210,7 @@ Password Policy - /device-mgt/emm-admin/operations/android/password-policy + /device-mgt/admin/operations/android/password-policy /admin/devices/set-password-policy POST emm_admin @@ -218,7 +218,7 @@ Webclip - /device-mgt/emm-admin/operations/android/webclip + /device-mgt/admin/operations/android/webclip /admin/devices/set-webclip POST emm_admin @@ -226,7 +226,7 @@ Disenroll - /device-mgt/emm-admin/operations/android/disenroll + /device-mgt/admin/operations/android/disenroll /operation/disenroll POST emm_android_agent @@ -235,7 +235,7 @@ View devices - /device-mgt/emm-admin/devices/view + /device-mgt/admin/devices/view /device GET emm_admin @@ -243,7 +243,7 @@ View device - /device-mgt/emm-admin/devices/view + /device-mgt/admin/devices/view /device/* GET emm_admin,emm_user @@ -251,7 +251,7 @@ Update device - /device-mgt/emm-admin/devices/update + /device-mgt/admin/devices/update /device/* PUT emm_admin,emm_user @@ -259,7 +259,7 @@ Update application list - /device-mgt/emm-admin/operations/android/update-applist + /device-mgt/admin/operations/android/update-applist /device/appList/* POST emm_admin @@ -358,7 +358,7 @@ View Tenant configuration - /device-mgt/emm-admin/platform-configs/view + /device-mgt/admin/platform-configs/view /configuration GET emm_admin @@ -366,7 +366,7 @@ Add Tenant configuration - /device-mgt/emm-admin/platform-configs/add + /device-mgt/admin/platform-configs/add /configuration POST emm_admin @@ -374,7 +374,7 @@ Update Tenant configuration - /device-mgt/emm-admin/platform-configs/modify + /device-mgt/admin/platform-configs/modify /configuration PUT emm_admin