diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-mod/public/js/operation-mod.js b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-mod/public/js/operation-mod.js index 1fb5660c0..d54f38bcf 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-mod/public/js/operation-mod.js +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-mod/public/js/operation-mod.js @@ -103,6 +103,7 @@ var operationModule = function () { "EMAIL_OPERATION_CODE": "EMAIL", "AIRPLAY_OPERATION_CODE": "AIR_PLAY", "LDAP_OPERATION_CODE": "LDAP", + "DOMAIN_OPERATION_CODE": "DOMAIN", "CALENDAR_OPERATION_CODE": "CALDAV", "NOTIFICATION_OPERATION_CODE": "NOTIFICATION", "CALENDAR_SUBSCRIPTION_OPERATION_CODE": "CALENDAR_SUBSCRIPTION", @@ -148,6 +149,12 @@ var operationModule = function () { "passcodePolicyMaxFailedAttempts": operationPayload["maxFailedAttempts"] }; break; + case iosOperationConstants["DOMAIN_OPERATION_CODE"]: + payload = { + "emailDomains": operationPayload["emailDomains"], + "webDomains": operationPayload["webDomains"] + }; + break; case iosOperationConstants["RESTRICTIONS_OPERATION_CODE"]: payload = { "restrictionsAllowAccountModification": operationPayload["allowAccountModification"], diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.create/public/templates/hidden-operations-android.hbs b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.create/public/templates/hidden-operations-android.hbs index a032462b9..be99f83a9 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.create/public/templates/hidden-operations-android.hbs +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.create/public/templates/hidden-operations-android.hbs @@ -68,16 +68,16 @@ + - - System Update Policy (COSU) + System Update Policy (COSU) + - Allow simple value + Allow simple value @@ -136,7 +136,7 @@ class="form-control operationDataKeys" data-key="passcodePolicyRequireAlphanumeric" checked="checked"/> - Require alphanumeric value + Require alphanumeric value @@ -278,7 +278,7 @@ data-key="cameraEnabled" checked="checked"/> - Allow use of camera + Allow use of camera @@ -296,7 +296,7 @@ class="operationDataKeys" data-key="disallowConfigCredentials"/> - Disallow configuring credentials + Disallow configuring credentials @@ -307,7 +307,7 @@ - Disallow configuring VPN + Disallow configuring VPN @@ -320,7 +320,7 @@ class="operationDataKeys" data-key="disallowAppControl"/> - Disallow configuring app control + Disallow configuring app control @@ -332,7 +332,7 @@ class="operationDataKeys" data-key="disallowCrossProfileCopyPaste"/> - Disallow cross profile copy paste + Disallow cross profile copy paste @@ -343,7 +343,7 @@ - Disallow debuging + Disallow debuging @@ -354,7 +354,7 @@ - Disallow install apps + Disallow install apps @@ -367,7 +367,7 @@ data-key="disallowInstallUnknownSources"/> - Disallow install from unknown sources + Disallow install from unknown sources @@ -378,7 +378,7 @@ - Disallow modify accounts + Disallow modify accounts @@ -389,7 +389,7 @@ - Disallow outgoing beam + Disallow outgoing beam @@ -400,7 +400,7 @@ - Disallow location sharing + Disallow location sharing @@ -411,7 +411,7 @@ - Disallow uninstall apps + Disallow uninstall apps @@ -423,7 +423,7 @@ class="operationDataKeys" data-key="disallowParentProfileAppLinking"/> - Disallow parent profile app linking + Disallow parent profile app linking @@ -434,7 +434,7 @@ - Ensure verifying apps + Ensure verifying apps @@ -445,7 +445,7 @@ - Enable auto timing + Enable auto timing @@ -456,7 +456,7 @@ - Disable screen capture + Disable screen capture @@ -473,7 +473,7 @@ - Disallow SMS + Disallow SMS @@ -484,7 +484,7 @@ - Disallow volume adjust + Disallow volume adjust @@ -496,7 +496,7 @@ class="operationDataKeys" data-key="disallowConfigCellBroadcasts"/> - Disallow cell broadcast + Disallow cell broadcast @@ -507,7 +507,7 @@ - Disallow configuring bluetooth. + Disallow configuring bluetooth. @@ -520,7 +520,7 @@ data-key="disallowConfigMobileNetworks"/> - Disallow configuring mobile networks + Disallow configuring mobile networks @@ -532,7 +532,7 @@ class="operationDataKeys" data-key="disallowConfigTethering"/> - Disallow configuring tethering + Disallow configuring tethering @@ -543,7 +543,7 @@ - Disallow configuring Wifi + Disallow configuring Wifi @@ -554,7 +554,7 @@ - Disallow safe boot + Disallow safe boot @@ -565,7 +565,7 @@ - Disallow outgoing calls + Disallow outgoing calls @@ -576,7 +576,7 @@ - Disallow mount physical media + Disallow mount physical media @@ -587,7 +587,7 @@ - Disallow create window + Disallow create window @@ -598,7 +598,7 @@ - Disallow factory reset + Disallow factory reset @@ -609,7 +609,7 @@ - Disallow remove user + Disallow remove user @@ -620,7 +620,7 @@ - Disallow add user + Disallow add user @@ -631,7 +631,7 @@ - Disallow network reset + Disallow network reset @@ -642,7 +642,7 @@ - Disallow USB file transfer + Disallow USB file transfer @@ -653,7 +653,7 @@ - Disallow unmute microphone + Disallow unmute microphone @@ -671,7 +671,7 @@ - Disable status bar + Disable status bar @@ -719,7 +719,7 @@ data-key="encryptStorageEnabled" checked="checked"/> - Enable storage-encryption + Enable storage-encryption @@ -945,7 +945,7 @@ - + Add Application @@ -124,7 +124,7 @@ checked="checked"/>
-