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 89527545ae..5f18e8f3a6 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 @@ -19,7 +19,7 @@ - + - Lock - /device-mgt/admin/operations/android/lock - /admin/devices/lock-devices - POST - emm_admin,emm_user + View Tenant configuration + /device-mgt/admin/platform-configs/view + /configuration + GET - Unlock - /device-mgt/admin/operations/android/unlock - /admin/devices/unlock-devices + Add Tenant configuration + /device-mgt/admin/platform-configs/add + /configuration POST - emm_admin,emm_user - Mute - /device-mgt/admin/operations/android/mute - /admin/devices/mute - POST - emm_admin,emm_user + Enroll + /device-mgt/user/device/android/enroll + /configuration/license + GET - - Location - /device-mgt/admin/operations/android/location - /admin/devices/location - POST - emm_admin,emm_user - + - - Clear Passcode - /device-mgt/admin/operations/android/clear-password - /admin/devices/clear-password - POST - emm_admin - + - Camera - /device-mgt/admin/operations/android/camera - /admin/devices/control-camera + Enroll + /device-mgt/user/device/android/enroll + /devices POST - emm_admin,emm_user - Device Info - /device-mgt/admin/operations/android/device-info - /admin/devices/info - POST - emm_admin,emm_user + Enroll + /device-mgt/user/device/android/enroll + /devices/* + DELETE - Enterprise Wipe - /device-mgt/admin/operations/android/enterprise-wipe - /admin/devices/enterprise-wipe - POST - emm_admin + Enroll + /device-mgt/user/device/android/enroll + /devices/* + PUT - Wipe Data - /device-mgt/admin/operations/android/wipe-data - /admin/devices/wipe - POST - emm_admin + Enroll + /device-mgt/user/device/android/enroll + /device/*/applications + PUT - Application List - /device-mgt/admin/operations/android/application-list - /admin/devices/applications - POST - emm_admin,emm_user + Enroll + /device-mgt/user/device/android/enroll + /device/*/pending-operations + PUT - Ring - /device-mgt/admin/operations/android/ring-device - /admin/devices/ring - POST - emm_admin,emm_user + Enroll + /device-mgt/user/device/android/enroll + /device/*/status + GET - - Reboot - /device-mgt/admin/operations/android/reboot-device - /admin/devices/reboot - POST - emm_admin,emm_user - + - - Upgrade Firmware - /device-mgt/admin/operations/android/upgrade-firmware - /admin/devices/upgrade-firmware - POST - emm_admin - + - Configure VPN - /device-mgt/admin/operations/android/vpn - /admin/devices/configure-vpn + Enroll + /device-mgt/user/device/android/enroll + /events/publish POST - emm_admin,emm_user - Install Application - /device-mgt/android/operations/install-application - /admin/devices/install-application + View Events + /device-mgt/admin/events/view + /events/publish POST - emm_admin,emm_user - - Update Application - /device-mgt/admin/operations/android/install-application - /admin/devices/update-application - POST - emm_admin,emm_user - + + + - Uninstall Application - /device-mgt/admin/operations/android/uninstall-application - /admin/devices/uninstall-application + Get installed applications + /device-mgt/admin/device/android/operation/get-installed-applications + /admin/devices/applications POST - emm_admin,emm_user - Blacklist Applications - /device-mgt/admin/operations/android/blacklist-applications + Blacklist applications + /device-mgt/admin/device/android/operation/blacklist-applications /admin/devices/blacklist-applications POST - emm_admin - Notification - /device-mgt/admin/operations/android/notification - /admin/devices/send-notification + Change lock code + /device-mgt/admin/device/android/operation/change-lock-code + /admin/devices/change-lock-code POST - emm_admin,emm_user - Wifi - /device-mgt/admin/operations/android/wifi - /admin/devices/configure-wifi + Clear password + /device-mgt/admin/device/android/operation/clear-password + /admin/devices/clear-password POST - emm_admin - Encryption - /device-mgt/admin/operations/android/encrypt - /admin/devices/encrypt-storage + Configure VPN + /device-mgt/admin/device/android/operation/configure-vpn + /admin/devices/configure-vpn POST - emm_admin - Change lock code - /device-mgt/admin/operations/android/change-lock-code - /admin/devices/change-lock-code + Configure WiFi + /device-mgt/admin/device/android/operation/configure-wifi + /admin/devices/configure-wifi POST - emm_admin - Password Policy - /device-mgt/admin/operations/android/password-policy - /admin/devices/set-password-policy + Control camera + /device-mgt/admin/device/android/operation/control-camera + /admin/devices/control-camera POST - emm_admin - Webclip - /device-mgt/admin/operations/android/webclip - /admin/devices/set-webclip + Encrypt storage + /device-mgt/admin/device/android/operation/encrypt-storage + /admin/devices/encrypt-storage POST - emm_admin - Disenroll - /device-mgt/admin/operations/android/disenroll - /operation/disenroll + Enterprise wipe + /device-mgt/admin/device/android/operation/enterprise-wipe + /admin/devices/enterprise-wipe POST - emm_android_agent - - - - - View devices - /device-mgt/admin/devices/view - /device - GET - emm_admin - View device - /device-mgt/admin/devices/view - /device/* - GET - emm_admin,emm_user - - - - Update device - /device-mgt/admin/devices/update - /device/* - PUT - emm_admin,emm_user - - - - Update application list - /device-mgt/admin/operations/android/update-applist - /device/appList/* + Get device info + /device-mgt/admin/device/android/operation/get-info + /admin/devices/info/url> POST - emm_admin - View license - /device-mgt/user/enroll/android - /configuration/license - GET - emm_android_agent + Install application + /device-mgt/admin/device/android/operation/install-application + /admin/devices/install-application + POST - - Enroll device - /device-mgt/user/enroll/android - /devices + Get location details + /device-mgt/admin/device/android/operation/location + /admin/devices/location POST - emm_android_agent - Devices related Operations - /device-mgt/user/enroll/android - /devices/* - GET - emm_android_agent + Lock device + /device-mgt/admin/device/android/operation/lock-device + /admin/devices/lock-devices + POST - Device is enrolled - /device-mgt/user/enroll/android - /devices/*/status - GET - emm_android_agent + Mute device + /device-mgt/admin/device/android/operation/mute + /admin/devices/mute + POST - Devices related Operations - /device-mgt/user/enroll/android - /devices/*/pending-operations - PUT - emm_android_agent + Reboot device + /device-mgt/admin/device/android/operation/reboot + /admin/devices/reboot + POST - Modify devices - /device-mgt/user/enroll/android - /devices/* - PUT - emm_android_agent + Ring device + /device-mgt/admin/device/android/operation/ring + /admin/devices/ring + POST - Delete devices - /device-mgt/user/enroll/android - /devices/* - DELETE - emm_android_agent + Send notification + /device-mgt/admin/device/android/operation/send-notification + /admin/devices/send-notification + POST - Update Enrollment - /device-mgt/android/devices/enroll - /enrollment/* - PUT - emm_user,emm_admin + Set password policy + /device-mgt/admin/device/android/operation/set-password-policy + /admin/devices/set-password-policy + POST - Disenroll device - /device-mgt/android/devices/enroll - /enrollment/* - DELETE - emm_user,emm_admin + Set web clip + /device-mgt/admin/device/android/operation/set-webclip + /admin/devices/set-webclip + POST - - View Policies - /device-mgt/user/enroll/android - /policy/* - GET - emm_admin + Uninstall application + /device-mgt/admin/device/android/operation/uninstall-application + /admin/devices/uninstall-application + POST - View Policy Features - /device-mgt/user/enroll/android - /policy/features/* - GET - emm_admin + Unlock device + /device-mgt/admin/device/android/operation/unlock-device + /admin/devices/unlock-devices + POST - - View Tenant configuration - /device-mgt/admin/platform-configs/view - /configuration - GET - emm_admin + Update applications + /device-mgt/admin/device/android/operation/update-application + /admin/devices/update-application + POST - Add Tenant configuration - /device-mgt/admin/platform-configs/add - /configuration + Upgrade firmware + /device-mgt/admin/device/android/operation/upgrade-firmware + /admin/devices/upgrade-firmware POST - emm_admin - Update Tenant configuration - /device-mgt/admin/platform-configs/modify - /configuration - PUT - emm_admin - - - Event Addition - /device-mgt/android/events/add - /events/publish + Wipe device + /device-mgt/admin/device/android/operation/wipe + /admin/devices/wipe POST - emm_user,emm_admin - - - Event Retrieve - /device-mgt/android/events/view - /events - GET - emm_admin + + + \ No newline at end of file