mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed the issue in application restriction for iOS
This commit is contained in:
parent
802c83de39
commit
0f1b17a25e
@ -109,6 +109,7 @@ var operationModule = function () {
|
||||
"APN_OPERATION_CODE": "APN",
|
||||
"CELLULAR_OPERATION_CODE": "CELLULAR",
|
||||
"PER_APP_VPN_OPERATION_CODE": "PER_APP_VPN",
|
||||
"APPLICATION_OPERATION_CODE": "APP-RESTRICTION",
|
||||
"APP_TO_PER_APP_VPN_MAPPING_OPERATION_CODE": "APP_TO_PER_APP_VPN_MAPPING"
|
||||
};
|
||||
|
||||
@ -288,6 +289,12 @@ var operationModule = function () {
|
||||
}
|
||||
};
|
||||
break;
|
||||
case iosOperationConstants["APPLICATION_OPERATION_CODE"]:
|
||||
payload = {
|
||||
"restrictionType": operationPayload["restriction-type"],
|
||||
"restrictedApplications": operationPayload["restricted-applications"]
|
||||
};
|
||||
break;
|
||||
case iosOperationConstants["WIFI_OPERATION_CODE"]:
|
||||
payload = {
|
||||
"wifiHiddenNetwork": operationPayload["hiddenNetwork"],
|
||||
@ -579,6 +586,14 @@ var operationModule = function () {
|
||||
}
|
||||
};
|
||||
break;
|
||||
case iosOperationConstants["APPLICATION_OPERATION_CODE"]:
|
||||
payload = {
|
||||
"operation": {
|
||||
"restriction-type": operationData["restrictionType"],
|
||||
"restricted-applications": operationData["restrictedApplications"]
|
||||
}
|
||||
};
|
||||
break;
|
||||
case iosOperationConstants["RESTRICTIONS_OPERATION_CODE"]:
|
||||
operationType = operationTypeConstants["PROFILE"];
|
||||
payload = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user