mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fix for EMM-1766
This commit is contained in:
parent
5b6289326b
commit
3f39ebf757
@ -837,6 +837,15 @@ var operationModule = function () {
|
||||
"encryptStorageEnabled": operationPayload["encrypted"]
|
||||
};
|
||||
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"]:
|
||||
payload = {
|
||||
"wifiSSID": operationPayload["ssid"],
|
||||
|
||||
@ -2382,8 +2382,6 @@ var savePolicy = function (policy, isActive, serviceURL) {
|
||||
payload["roles"] = [];
|
||||
}
|
||||
|
||||
console.log(JSON.stringify(payload));
|
||||
|
||||
invokerUtil.post(
|
||||
serviceURL,
|
||||
payload,
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
"adminService":"%https.ip%",
|
||||
"idPServer":"%https.ip%",
|
||||
"callBackUrl":"%https.ip%/mdm-admin",
|
||||
"enableEval":true,
|
||||
"oauthProvider": {
|
||||
"appRegistration": {
|
||||
"appType": "webapp",
|
||||
|
||||
@ -52,6 +52,7 @@ under the License. --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{#if enableEval}}
|
||||
<div class="row">
|
||||
<div class="col-md-4 wr-text">
|
||||
<div class="wr-buttons text-center">
|
||||
@ -65,4 +66,5 @@ under the License. --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/zone}}
|
||||
@ -33,5 +33,6 @@ function onRequest(context) {
|
||||
} else {
|
||||
viewModel.companyName = companyProps.companyName;
|
||||
}
|
||||
viewModel.enableEval = mdmProps.enableEval;
|
||||
return viewModel;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user