From 81786aee7fb7f37e450371302d99c7d792c8fde0 Mon Sep 17 00:00:00 2001 From: Dilshan Edirisuriya Date: Tue, 5 May 2015 18:10:32 +0530 Subject: [PATCH 1/2] New iOS script operation changes --- .../resources/dbscripts/plugins/h2_ios.sql | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_ios.sql b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_ios.sql index ed1cace79..ed28ed489 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_ios.sql +++ b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_ios.sql @@ -39,14 +39,28 @@ CREATE TABLE IF NOT EXISTS `IOS_FEATURE` ( INSERT INTO IOS_FEATURE (CODE, NAME, DESCRIPTION) VALUES - ('INSTALL_ENTERPRISE_APPLICATION', 'INSTALL_ENTERPRISE_APPLICATION', 'Enterprise application installation'), +('INSTALL_ENTERPRISE_APPLICATION', 'INSTALL_ENTERPRISE_APPLICATION', 'Enterprise application installation'), 
('INSTALL_STORE_APPLICATION', 'INSTALL_STORE_APPLICATION', 'Store application installation'), 
 ('REMOVE_APPLICATION', 'REMOVE_APPLICATION', 'Application removal'), 
('DEVICE_LOCK', 'DEVICE_LOCK', 'Lock device'), 
('CELLULAR', 'CELLULAR', 'Cellular operation'), +
('APN', 'APN', 'APN operation'), 
('RESTRICTION', 'RESTRICTION', 'Restriction operation'), 
('WIFI', 'WIFI', 'WIFI operation'), 
('DEVICE_INFO', 'DEVICE_INFO', 'Device info operation'), 
 ('AIR_PLAY', 'AIR_PLAY', 'AirPlay operation'), 
 ('LOCATION', 'LOCATION', 'Fetch location'), 
 -('ALARM', 'ALARM', 'Alarm device'); +('ALARM', 'ALARM', 'Alarm device'), +('APPLICATION_LIST', 'APPLICATION_LIST', 'Application list'), +('PROFILE_LIST', 'PROFILE_LIST', 'Profile list'), +('REMOVE_PROFILE', 'REMOVE_PROFILE', 'Remove profile'), +('CLEAR_PASSCODE', 'CLEAR_PASSCODE', 'Clear passcode'), +('CALDAV', 'CALDAV', 'CalDav'), +('CALENDAR_SUBSCRIPTION', 'CALENDAR_SUBSCRIPTION', 'Calendar subscription'), +('PASSCODE_POLICY', 'PASSCODE_POLICY', 'Passcode policy'), +('EMAIL', 'EMAIL', 'Email operation'), +('LDAP', 'LDAP', 'LDAP operation'), +('WEB_CLIP', 'WEB_CLIP', 'Web clip operation'), +('VPN', 'VPN', 'VPN operation'), +('PER_APP_VPN', 'PER_APP_VPN', 'Per app VPN operation'), +('APP_TO_PER_APP_VPN_MAPPING', 'APP_TO_PER_APP_VPN_MAPPING', 'App to per app VPN mapping operation'); From 590465b007fcbacde0293c3ab88b9eb9e389ad63 Mon Sep 17 00:00:00 2001 From: Dilshan Edirisuriya Date: Wed, 6 May 2015 11:23:58 +0530 Subject: [PATCH 2/2] Enterprise wipe --- .../src/main/resources/dbscripts/plugins/h2_ios.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_ios.sql b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_ios.sql index ed28ed489..d62790bbe 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_ios.sql +++ b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_ios.sql @@ -63,4 +63,5 @@ VALUES ('WEB_CLIP', 'WEB_CLIP', 'Web clip operation'), ('VPN', 'VPN', 'VPN operation'), ('PER_APP_VPN', 'PER_APP_VPN', 'Per app VPN operation'), -('APP_TO_PER_APP_VPN_MAPPING', 'APP_TO_PER_APP_VPN_MAPPING', 'App to per app VPN mapping operation'); +('APP_TO_PER_APP_VPN_MAPPING', 'APP_TO_PER_APP_VPN_MAPPING', 'App to per app VPN mapping operation'), +('ENTERPRISE_WIPE', 'ENTERPRISE_WIPE', 'Enterprise wipe operation');