From ba1f3bbbcc51ef30ebbc5bf3cbdfcb912dd2c1e1 Mon Sep 17 00:00:00 2001 From: Chatura Dilan Date: Tue, 31 May 2016 18:42:37 +0530 Subject: [PATCH 1/2] fixed issue in unlock devices permissions --- .../src/main/webapp/META-INF/permissions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f1b5ca435a..b4ec4343d3 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 @@ -43,7 +43,7 @@ Unlock /device-mgt/android/operations/unlock - /operation/unlock + /admin/devices/unlock-devices POST emm_admin,emm_user From d3a0fc3f1271a28d0e78c1654069a921a9591640 Mon Sep 17 00:00:00 2001 From: Chatura Dilan Date: Tue, 31 May 2016 18:50:26 +0530 Subject: [PATCH 2/2] Added install application permissions --- .../src/main/webapp/META-INF/permissions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b4ec4343d3..451cdf4c1a 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 @@ -146,7 +146,7 @@ Install Application /device-mgt/android/operations/install-application - /operation/install-application + /admin/devices/install-application POST emm_admin,emm_user