Merge pull request #683 from lakshani/master

Fixed the issue in application restriction for iOS
merge-requests/7/head
Hasunie 8 years ago committed by GitHub
commit fdbd0d65e8

@ -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…
Cancel
Save