Fix for EMM-1766

revert-dabc3590
kamidu 8 years ago
parent 5b6289326b
commit 3f39ebf757

@ -837,6 +837,15 @@ var operationModule = function () {
"encryptStorageEnabled": operationPayload["encrypted"] "encryptStorageEnabled": operationPayload["encrypted"]
}; };
break; break;
case androidOperationConstants["WORK_PROFILE_CODE"]:
payload = {
"workProfilePolicyProfileName": operationPayload["profileName"],
"workProfilePolicyEnableSystemApps": operationPayload["enableSystemApps"],
"workProfilePolicyHideSystemApps": operationPayload["hideSystemApps"],
"workProfilePolicyUnhideSystemApps": operationPayload["unhideSystemApps"],
"workProfilePolicyEnablePlaystoreApps": operationPayload["enablePlaystoreApps"]
};
break;
case androidOperationConstants["WIFI_OPERATION_CODE"]: case androidOperationConstants["WIFI_OPERATION_CODE"]:
payload = { payload = {
"wifiSSID": operationPayload["ssid"], "wifiSSID": operationPayload["ssid"],

@ -2382,8 +2382,6 @@ var savePolicy = function (policy, isActive, serviceURL) {
payload["roles"] = []; payload["roles"] = [];
} }
console.log(JSON.stringify(payload));
invokerUtil.post( invokerUtil.post(
serviceURL, serviceURL,
payload, payload,

@ -10,6 +10,7 @@
"adminService":"%https.ip%", "adminService":"%https.ip%",
"idPServer":"%https.ip%", "idPServer":"%https.ip%",
"callBackUrl":"%https.ip%/mdm-admin", "callBackUrl":"%https.ip%/mdm-admin",
"enableEval":true,
"oauthProvider": { "oauthProvider": {
"appRegistration": { "appRegistration": {
"appType": "webapp", "appType": "webapp",

@ -52,6 +52,7 @@ under the License. --}}
</div> </div>
</div> </div>
</div> </div>
{{#if enableEval}}
<div class="row"> <div class="row">
<div class="col-md-4 wr-text"> <div class="col-md-4 wr-text">
<div class="wr-buttons text-center"> <div class="wr-buttons text-center">
@ -65,4 +66,5 @@ under the License. --}}
</div> </div>
</div> </div>
</div> </div>
{{/if}}
{{/zone}} {{/zone}}

@ -33,5 +33,6 @@ function onRequest(context) {
} else { } else {
viewModel.companyName = companyProps.companyName; viewModel.companyName = companyProps.companyName;
} }
viewModel.enableEval = mdmProps.enableEval;
return viewModel; return viewModel;
} }
Loading…
Cancel
Save