inoshperera 8 years ago
commit b0ccf2d27d

@ -1072,7 +1072,7 @@ public class DeviceManagementAdminServiceImpl implements DeviceManagementAdminSe
private static void validateScheduleDate(String dateString){ private static void validateScheduleDate(String dateString){
try { try {
if (dateString != null) { if (dateString != null && !dateString.isEmpty()) {
SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT); SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
sdf.setLenient(false); sdf.setLenient(false);
sdf.parse(dateString); sdf.parse(dateString);

@ -205,7 +205,7 @@
showDropdowns: true, showDropdowns: true,
timePickerIncrement: 1, timePickerIncrement: 1,
locale: { locale: {
format: 'MM-DD-YYYY hh:mm a' format: "YYYY-MM-DDTHH:mm:ssZZ"
} }
}); });
}); });
@ -222,7 +222,7 @@
showDropdowns: true, showDropdowns: true,
timePickerIncrement: 1, timePickerIncrement: 1,
locale: { locale: {
format: 'MM-DD-YYYY hh:mm a' format: "YYYY-MM-DDTHH:mm:ssZZ"
} }
}); });
} }

@ -80,9 +80,9 @@ var operationModule = function () {
"AUTO_TIME" : "AUTO_TIME", "AUTO_TIME" : "AUTO_TIME",
"SET_SCREEN_CAPTURE_DISABLED" : "SET_SCREEN_CAPTURE_DISABLED", "SET_SCREEN_CAPTURE_DISABLED" : "SET_SCREEN_CAPTURE_DISABLED",
"SET_STATUS_BAR_DISABLED" : "SET_STATUS_BAR_DISABLED", "SET_STATUS_BAR_DISABLED" : "SET_STATUS_BAR_DISABLED",
"APPLICATION_OPERATION_CODE":"APP-RESTRICTION", "APPLICATION_OPERATION_CODE" : "APP-RESTRICTION",
"SYSTEM_UPDATE_POLICY_CODE": "SYSTEM_UPDATE_POLICY", "SYSTEM_UPDATE_POLICY_CODE" : "SYSTEM_UPDATE_POLICY",
"KIOSK_APPS_CODE": "KIOSK_APPS" "KIOSK_APPS_CODE" : "KIOSK_APPS"
}; };
// Constants to define Windows Operation Constants // Constants to define Windows Operation Constants
@ -151,8 +151,10 @@ var operationModule = function () {
break; break;
case iosOperationConstants["DOMAIN_OPERATION_CODE"]: case iosOperationConstants["DOMAIN_OPERATION_CODE"]:
payload = { payload = {
"emailDomains": operationPayload["emailDomains"], "operation": {
"webDomains": operationPayload["webDomains"] "emailDomains": operationData["emailDomains"],
"webDomains": operationData["webDomains"]
}
}; };
break; break;
case iosOperationConstants["RESTRICTIONS_OPERATION_CODE"]: case iosOperationConstants["RESTRICTIONS_OPERATION_CODE"]:
@ -439,7 +441,7 @@ var operationModule = function () {
break; break;
case iosOperationConstants["WIFI_OPERATION_CODE"]: case iosOperationConstants["WIFI_OPERATION_CODE"]:
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
if(operationData["wifiProxyPort"] == ""){ if (operationData["wifiProxyPort"] == "") {
operationData["wifiProxyPort"] = -1; operationData["wifiProxyPort"] = -1;
} }
payload = { payload = {
@ -511,35 +513,35 @@ var operationModule = function () {
}; };
} else if (operationData["vpnType"] == "IPSec") { } else if (operationData["vpnType"] == "IPSec") {
ipSec = { ipSec = {
"remoteAddress" : operationData["ipsecRemoteAddress"], "remoteAddress": operationData["ipsecRemoteAddress"],
"authenticationMethod" : operationData["ipsecAuthenticationMethod"], "authenticationMethod": operationData["ipsecAuthenticationMethod"],
"localIdentifier" : operationData["ipsecLocalIdentifier"], "localIdentifier": operationData["ipsecLocalIdentifier"],
"sharedSecret" : operationData["ipsecSharedSecret"], "sharedSecret": operationData["ipsecSharedSecret"],
"payloadCertificateUUID" : operationData["ipsecPayloadCertificateUUID"], "payloadCertificateUUID": operationData["ipsecPayloadCertificateUUID"],
"XAuthEnabled" : operationData["ipsecXAuthEnabled"], "XAuthEnabled": operationData["ipsecXAuthEnabled"],
"XAuthName" : operationData["ipsecXAuthName"], "XAuthName": operationData["ipsecXAuthName"],
"promptForVPNPIN" : operationData["ipsecPromptForVPNPIN"] "promptForVPNPIN": operationData["ipsecPromptForVPNPIN"]
}; };
} else if (operationData["vpnType"] == "IKEv2") { } else if (operationData["vpnType"] == "IKEv2") {
ikev2 = { ikev2 = {
"remoteAddress" : operationData["ikev2RemoteAddress"], "remoteAddress": operationData["ikev2RemoteAddress"],
"localIdentifier" : operationData["ikev2LocalIdentifier"], "localIdentifier": operationData["ikev2LocalIdentifier"],
"remoteIdentifier" : operationData["ikev2RemoteIdentifier"], "remoteIdentifier": operationData["ikev2RemoteIdentifier"],
"authenticationMethod" : operationData["ikev2AuthenticationMethod"], "authenticationMethod": operationData["ikev2AuthenticationMethod"],
"sharedSecret" : operationData["ikev2SharedSecret"], "sharedSecret": operationData["ikev2SharedSecret"],
"payloadCertificateUUID" : operationData["ikev2PayloadCertificateUUID"], "payloadCertificateUUID": operationData["ikev2PayloadCertificateUUID"],
"extendedAuthEnabled" : operationData["ikev2ExtendedAuthEnabled"], "extendedAuthEnabled": operationData["ikev2ExtendedAuthEnabled"],
"authName" : operationData["ikev2AuthName"], "authName": operationData["ikev2AuthName"],
"authPassword" : operationData["ikev2AuthPassword"], "authPassword": operationData["ikev2AuthPassword"],
"deadPeerDetectionInterval" : operationData["ikev2DeadPeerDetectionInterval"], "deadPeerDetectionInterval": operationData["ikev2DeadPeerDetectionInterval"],
"serverCertificateIssuerCommonName" : operationData["ikev2ServerCertificateIssuerCommonName"], "serverCertificateIssuerCommonName": operationData["ikev2ServerCertificateIssuerCommonName"],
"serverCertificateCommonName" : operationData["ikev2ServerCertificateCommonName"] "serverCertificateCommonName": operationData["ikev2ServerCertificateCommonName"]
}; };
} else if (operationData["vpnType"] == "PulseSecure") { } else if (operationData["vpnType"] == "PulseSecure") {
pulseSecure = { pulseSecure = {
"remoteAddress" : operationData["pulsesecureRemoteAddress"], "remoteAddress": operationData["pulsesecureRemoteAddress"],
"userName" : operationData["pulsesecureName"], "userName": operationData["pulsesecureName"],
"sharedSecret" : operationData["pulsesecureSharedSecret"] "sharedSecret": operationData["pulsesecureSharedSecret"]
}; };
} }
@ -566,13 +568,13 @@ var operationModule = function () {
"onDemandMatchDomainsAlways": domainsAlways, "onDemandMatchDomainsAlways": domainsAlways,
"onDemandMatchDomainsNever": domainsNever, "onDemandMatchDomainsNever": domainsNever,
"onDemandMatchDomainsOnRetry": domainsRetry, "onDemandMatchDomainsOnRetry": domainsRetry,
"onDemandRules" : operationData["onDemandRules"], "onDemandRules": operationData["onDemandRules"],
"vendorConfigs" : operationData["vendorConfigs"], "vendorConfigs": operationData["vendorConfigs"],
"vpnType" : operationData["vpnType"], "vpnType": operationData["vpnType"],
"ppp": ppp, "ppp": ppp,
"ipSec": ipSec, "ipSec": ipSec,
"ikEv2": ikev2, "ikEv2": ikev2,
"pulseSecure" : pulseSecure "pulseSecure": pulseSecure
} }
}; };
break; break;
@ -762,11 +764,15 @@ var operationModule = function () {
case iosOperationConstants["DOMAIN_OPERATION_CODE"]: case iosOperationConstants["DOMAIN_OPERATION_CODE"]:
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": {
"emailDomains": operationData["emailDomains"], "emailDomains": operationData["emailDomains"],
"webDomains": operationData["webDomains"] "webDomains": operationData["webDomains"]
}
}; };
break; break;
case iosOperationConstants["CELLULAR_OPERATION_CODE"]: case
iosOperationConstants["CELLULAR_OPERATION_CODE"]
:
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
@ -778,7 +784,9 @@ var operationModule = function () {
} }
}; };
break; break;
case iosOperationConstants["NOTIFICATION_OPERATION_CODE"]: case
iosOperationConstants["NOTIFICATION_OPERATION_CODE"]
:
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
@ -798,7 +806,8 @@ var operationModule = function () {
payload["deviceIDs"] = deviceList; payload["deviceIDs"] = deviceList;
} }
return payload; return payload;
}; }
;
/** /**
* Convert the android platform specific code to the generic payload. * Convert the android platform specific code to the generic payload.
@ -840,8 +849,8 @@ var operationModule = function () {
"wifiProvisioning": operationPayload["provisioning"], "wifiProvisioning": operationPayload["provisioning"],
"wifiIdentity": operationPayload["identity"], "wifiIdentity": operationPayload["identity"],
"wifiAnoIdentity": operationPayload["anonymousIdentity"], "wifiAnoIdentity": operationPayload["anonymousIdentity"],
"wifiCaCert" : operationPayload["cacert"], "wifiCaCert": operationPayload["cacert"],
"wifiCaCertName" : operationPayload["cacertName"] "wifiCaCertName": operationPayload["cacertName"]
}; };
break; break;
case androidOperationConstants["VPN_OPERATION_CODE"]: case androidOperationConstants["VPN_OPERATION_CODE"]:
@ -888,40 +897,40 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"CAMERA" : operationData["cameraEnabled"], "CAMERA": operationData["cameraEnabled"],
"DISALLOW_ADJUST_VOLUME" : operationData["disallowAdjustVolumeEnabled"], "DISALLOW_ADJUST_VOLUME": operationData["disallowAdjustVolumeEnabled"],
"DISALLOW_CONFIG_BLUETOOTH" : operationData["disallowConfigBluetooth"], "DISALLOW_CONFIG_BLUETOOTH": operationData["disallowConfigBluetooth"],
"DISALLOW_CONFIG_CELL_BROADCASTS" : operationData["disallowConfigCellBroadcasts"], "DISALLOW_CONFIG_CELL_BROADCASTS": operationData["disallowConfigCellBroadcasts"],
"DISALLOW_CONFIG_CREDENTIALS" : operationData["disallowConfigCredentials"], "DISALLOW_CONFIG_CREDENTIALS": operationData["disallowConfigCredentials"],
"DISALLOW_CONFIG_MOBILE_NETWORKS" : operationData["disallowConfigMobileNetworks"], "DISALLOW_CONFIG_MOBILE_NETWORKS": operationData["disallowConfigMobileNetworks"],
"DISALLOW_CONFIG_TETHERING" : operationData["disallowConfigTethering"], "DISALLOW_CONFIG_TETHERING": operationData["disallowConfigTethering"],
"DISALLOW_CONFIG_VPN" : operationData["disallowConfigVpn"], "DISALLOW_CONFIG_VPN": operationData["disallowConfigVpn"],
"DISALLOW_CONFIG_WIFI" : operationData["disallowConfigWifi"], "DISALLOW_CONFIG_WIFI": operationData["disallowConfigWifi"],
"DISALLOW_APPS_CONTROL" : operationData["disallowAppControl"], "DISALLOW_APPS_CONTROL": operationData["disallowAppControl"],
"DISALLOW_CREATE_WINDOWS" : operationData["disallowCreateWindows"], "DISALLOW_CREATE_WINDOWS": operationData["disallowCreateWindows"],
"DISALLOW_CROSS_PROFILE_COPY_PASTE" : operationData["disallowCrossProfileCopyPaste"], "DISALLOW_CROSS_PROFILE_COPY_PASTE": operationData["disallowCrossProfileCopyPaste"],
"DISALLOW_DEBUGGING_FEATURES" : operationData["disallowDebugging"], "DISALLOW_DEBUGGING_FEATURES": operationData["disallowDebugging"],
"DISALLOW_FACTORY_RESET" : operationData["disallowFactoryReset"], "DISALLOW_FACTORY_RESET": operationData["disallowFactoryReset"],
"DISALLOW_ADD_USER" : operationData["disallowAddUser"], "DISALLOW_ADD_USER": operationData["disallowAddUser"],
"DISALLOW_INSTALL_APPS" : operationData["disallowInstallApps"], "DISALLOW_INSTALL_APPS": operationData["disallowInstallApps"],
"DISALLOW_INSTALL_UNKNOWN_SOURCES" : operationData["disallowInstallUnknownSources"], "DISALLOW_INSTALL_UNKNOWN_SOURCES": operationData["disallowInstallUnknownSources"],
"DISALLOW_MODIFY_ACCOUNTS" : operationData["disallowModifyAccounts"], "DISALLOW_MODIFY_ACCOUNTS": operationData["disallowModifyAccounts"],
"DISALLOW_MOUNT_PHYSICAL_MEDIA" : operationData["disallowMountPhysicalMedia"], "DISALLOW_MOUNT_PHYSICAL_MEDIA": operationData["disallowMountPhysicalMedia"],
"DISALLOW_NETWORK_RESET" : operationData["disallowNetworkReset"], "DISALLOW_NETWORK_RESET": operationData["disallowNetworkReset"],
"DISALLOW_OUTGOING_BEAM" : operationData["disallowOutgoingBeam"], "DISALLOW_OUTGOING_BEAM": operationData["disallowOutgoingBeam"],
"DISALLOW_OUTGOING_CALLS" : operationData["disallowOutgoingCalls"], "DISALLOW_OUTGOING_CALLS": operationData["disallowOutgoingCalls"],
"DISALLOW_REMOVE_USER" : operationData["disallowRemoveUser"], "DISALLOW_REMOVE_USER": operationData["disallowRemoveUser"],
"DISALLOW_SAFE_BOOT" : operationData["disallowSafeBoot"], "DISALLOW_SAFE_BOOT": operationData["disallowSafeBoot"],
"DISALLOW_SHARE_LOCATION" : operationData["disallowLocationSharing"], "DISALLOW_SHARE_LOCATION": operationData["disallowLocationSharing"],
"DISALLOW_SMS" : operationData["disallowSMS"], "DISALLOW_SMS": operationData["disallowSMS"],
"DISALLOW_UNINSTALL_APPS" : operationData["disallowUninstallApps"], "DISALLOW_UNINSTALL_APPS": operationData["disallowUninstallApps"],
"DISALLOW_UNMUTE_MICROPHONE" : operationData["disallowUnmuteMicrophone"], "DISALLOW_UNMUTE_MICROPHONE": operationData["disallowUnmuteMicrophone"],
"DISALLOW_USB_FILE_TRANSFER" : operationData["disallowUSBFileTransfer"], "DISALLOW_USB_FILE_TRANSFER": operationData["disallowUSBFileTransfer"],
"ALLOW_PARENT_PROFILE_APP_LINKING" : operationData["disallowParentProfileAppLinking"], "ALLOW_PARENT_PROFILE_APP_LINKING": operationData["disallowParentProfileAppLinking"],
"ENSURE_VERIFY_APPS" : operationData["ensureVerifyApps"], "ENSURE_VERIFY_APPS": operationData["ensureVerifyApps"],
"AUTO_TIME" : operationData["enableAutoTime"], "AUTO_TIME": operationData["enableAutoTime"],
"SET_SCREEN_CAPTURE_DISABLED" : operationData["disableScreenCapture"], "SET_SCREEN_CAPTURE_DISABLED": operationData["disableScreenCapture"],
"SET_STATUS_BAR_DISABLED" : operationData["disableStatusBar"] "SET_STATUS_BAR_DISABLED": operationData["disableStatusBar"]
} }
}; };
break; break;
@ -929,7 +938,7 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"lockCode" : operationData["lockCode"] "lockCode": operationData["lockCode"]
} }
}; };
break; break;
@ -937,7 +946,7 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"encrypted" : operationData["encryptStorageEnabled"] "encrypted": operationData["encryptStorageEnabled"]
} }
}; };
break; break;
@ -955,8 +964,8 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"schedule" : operationData["schedule"], "schedule": operationData["schedule"],
"server" : operationData["server"] "server": operationData["server"]
} }
}; };
break; break;
@ -964,7 +973,7 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"pin" : operationData["pin"] "pin": operationData["pin"]
} }
}; };
break; break;
@ -974,14 +983,14 @@ var operationModule = function () {
"operation": { "operation": {
"ssid": operationData["wifiSSID"], "ssid": operationData["wifiSSID"],
"type": operationData["wifiType"], "type": operationData["wifiType"],
"password" : operationData["wifiPassword"], "password": operationData["wifiPassword"],
"eap" : operationData["wifiEAP"], "eap": operationData["wifiEAP"],
"phase2" : operationData["wifiPhase2"], "phase2": operationData["wifiPhase2"],
"provisioning" : operationData["wifiProvisioning"], "provisioning": operationData["wifiProvisioning"],
"identity" : operationData["wifiIdentity"], "identity": operationData["wifiIdentity"],
"anonymousIdentity" : operationData["wifiAnoIdentity"], "anonymousIdentity": operationData["wifiAnoIdentity"],
"cacert" : operationData["wifiCaCert"], "cacert": operationData["wifiCaCert"],
"cacertName" : operationData["wifiCaCertName"] "cacertName": operationData["wifiCaCertName"]
} }
}; };
break; break;
@ -1000,8 +1009,8 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"message" : operationData["lock-message"], "message": operationData["lock-message"],
"isHardLockEnabled" : operationData["hard-lock"] "isHardLockEnabled": operationData["hard-lock"]
} }
}; };
break; break;
@ -1152,7 +1161,7 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"enabled" : operationData["cameraEnabled"] "enabled": operationData["cameraEnabled"]
} }
}; };
break; break;
@ -1160,7 +1169,7 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"lockCode" : operationData["lockCode"] "lockCode": operationData["lockCode"]
} }
}; };
break; break;
@ -1168,7 +1177,7 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"encrypted" : operationData["encryptStorageEnabled"] "encrypted": operationData["encryptStorageEnabled"]
} }
}; };
break; break;
@ -1176,7 +1185,7 @@ var operationModule = function () {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"message" : operationData["message"] "message": operationData["message"]
} }
}; };
break; break;
@ -1283,7 +1292,9 @@ var operationModule = function () {
*/ */
$.fn.filterByData = function (prop, val) { $.fn.filterByData = function (prop, val) {
return this.filter( return this.filter(
function () {return $(this).data(prop) == val;} function () {
return $(this).data(prop) == val;
}
); );
}; };
@ -1604,18 +1615,18 @@ var operationModule = function () {
var operationCode = operationCodes[i]; var operationCode = operationCodes[i];
var payload = publicMethods.generatePayload(platformType, operationCode, null); var payload = publicMethods.generatePayload(platformType, operationCode, null);
if(platformType == platformTypeConstants["ANDROID"] && if (platformType == platformTypeConstants["ANDROID"] &&
operationCodes[i] == androidOperationConstants["CAMERA_OPERATION_CODE"]){ operationCodes[i] == androidOperationConstants["CAMERA_OPERATION_CODE"]) {
var operations = payload["operation"]; var operations = payload["operation"];
for (var key in operations){ for (var key in operations) {
operationCode = key; operationCode = key;
var restriction = false; var restriction = false;
if(operations[key]){ if (operations[key]) {
restriction = true; restriction = true;
} }
var payloadResult = { var payloadResult = {
"operation": { "operation": {
"enabled" : restriction "enabled": restriction
} }
}; };
generatedProfile[operationCode] = payloadResult["operation"]; generatedProfile[operationCode] = payloadResult["operation"];
@ -1643,108 +1654,108 @@ var operationModule = function () {
var configuredFeature = payload[i]; var configuredFeature = payload[i];
var featureCode = configuredFeature["featureCode"]; var featureCode = configuredFeature["featureCode"];
var operationPayload = configuredFeature["content"]; var operationPayload = configuredFeature["content"];
if(platformType == platformTypeConstants["ANDROID"]){ if (platformType == platformTypeConstants["ANDROID"]) {
var restriction = JSON.parse(operationPayload); var restriction = JSON.parse(operationPayload);
if(featureCode == androidOperationConstants["CAMERA_OPERATION_CODE"]){ if (featureCode == androidOperationConstants["CAMERA_OPERATION_CODE"]) {
restrictions["cameraEnabled"] = restriction["enabled"]; restrictions["cameraEnabled"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_ADJUST_VOLUME"]){ } else if (featureCode == androidOperationConstants["DISALLOW_ADJUST_VOLUME"]) {
restrictions["disallowAdjustVolumeEnabled"] = restriction["enabled"]; restrictions["disallowAdjustVolumeEnabled"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_BLUETOOTH"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_BLUETOOTH"]) {
restrictions["disallowConfigBluetooth"] = restriction["enabled"]; restrictions["disallowConfigBluetooth"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_CELL_BROADCASTS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_CELL_BROADCASTS"]) {
restrictions["disallowConfigCellBroadcasts"] = restriction["enabled"]; restrictions["disallowConfigCellBroadcasts"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_CREDENTIALS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_CREDENTIALS"]) {
restrictions["disallowConfigCredentials"] = restriction["enabled"]; restrictions["disallowConfigCredentials"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_MOBILE_NETWORKS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_MOBILE_NETWORKS"]) {
restrictions["disallowConfigMobileNetworks"] = restriction["enabled"]; restrictions["disallowConfigMobileNetworks"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_TETHERING"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_TETHERING"]) {
restrictions["disallowConfigTethering"] = restriction["enabled"]; restrictions["disallowConfigTethering"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_VPN"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_VPN"]) {
restrictions["disallowConfigVpn"] = restriction["enabled"]; restrictions["disallowConfigVpn"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_WIFI"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_WIFI"]) {
restrictions["disallowConfigWifi"] = restriction["enabled"]; restrictions["disallowConfigWifi"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_APPS_CONTROL"]){ } else if (featureCode == androidOperationConstants["DISALLOW_APPS_CONTROL"]) {
restrictions["disallowAppControl"] = restriction["enabled"]; restrictions["disallowAppControl"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CREATE_WINDOWS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CREATE_WINDOWS"]) {
restrictions["disallowCreateWindows"] = restriction["enabled"]; restrictions["disallowCreateWindows"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_CROSS_PROFILE_COPY_PASTE"]){ } else if (featureCode == androidOperationConstants["DISALLOW_CROSS_PROFILE_COPY_PASTE"]) {
restrictions["disallowCrossProfileCopyPaste"] = restriction["enabled"]; restrictions["disallowCrossProfileCopyPaste"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_DEBUGGING_FEATURES"]){ } else if (featureCode == androidOperationConstants["DISALLOW_DEBUGGING_FEATURES"]) {
restrictions["disallowDebugging"] = restriction["enabled"]; restrictions["disallowDebugging"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_FACTORY_RESET"]){ } else if (featureCode == androidOperationConstants["DISALLOW_FACTORY_RESET"]) {
restrictions["disallowFactoryReset"] = restriction["enabled"]; restrictions["disallowFactoryReset"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_ADD_USER"]){ } else if (featureCode == androidOperationConstants["DISALLOW_ADD_USER"]) {
restrictions["disallowAddUser"] = restriction["enabled"]; restrictions["disallowAddUser"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_INSTALL_APPS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_INSTALL_APPS"]) {
restrictions["disallowInstallApps"] = restriction["enabled"]; restrictions["disallowInstallApps"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_INSTALL_UNKNOWN_SOURCES"]){ } else if (featureCode == androidOperationConstants["DISALLOW_INSTALL_UNKNOWN_SOURCES"]) {
restrictions["disallowInstallUnknownSources"] = restriction["enabled"]; restrictions["disallowInstallUnknownSources"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_MODIFY_ACCOUNTS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_MODIFY_ACCOUNTS"]) {
restrictions["disallowModifyAccounts"] = restriction["enabled"]; restrictions["disallowModifyAccounts"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_MOUNT_PHYSICAL_MEDIA"]){ } else if (featureCode == androidOperationConstants["DISALLOW_MOUNT_PHYSICAL_MEDIA"]) {
restrictions["disallowMountPhysicalMedia"] = restriction["enabled"]; restrictions["disallowMountPhysicalMedia"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_NETWORK_RESET"]){ } else if (featureCode == androidOperationConstants["DISALLOW_NETWORK_RESET"]) {
restrictions["disallowNetworkReset"] = restriction["enabled"]; restrictions["disallowNetworkReset"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_OUTGOING_BEAM"]){ } else if (featureCode == androidOperationConstants["DISALLOW_OUTGOING_BEAM"]) {
restrictions["disallowOutgoingBeam"] = restriction["enabled"]; restrictions["disallowOutgoingBeam"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_OUTGOING_CALLS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_OUTGOING_CALLS"]) {
restrictions["disallowOutgoingCalls"] = restriction["enabled"]; restrictions["disallowOutgoingCalls"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_REMOVE_USER"]){ } else if (featureCode == androidOperationConstants["DISALLOW_REMOVE_USER"]) {
restrictions["disallowRemoveUser"] = restriction["enabled"]; restrictions["disallowRemoveUser"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_SAFE_BOOT"]){ } else if (featureCode == androidOperationConstants["DISALLOW_SAFE_BOOT"]) {
restrictions["disallowSafeBoot"] = restriction["enabled"]; restrictions["disallowSafeBoot"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_SHARE_LOCATION"]){ } else if (featureCode == androidOperationConstants["DISALLOW_SHARE_LOCATION"]) {
restrictions["disallowLocationSharing"] = restriction["enabled"]; restrictions["disallowLocationSharing"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_SMS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_SMS"]) {
restrictions["disallowSMS"] = restriction["enabled"]; restrictions["disallowSMS"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_UNINSTALL_APPS"]){ } else if (featureCode == androidOperationConstants["DISALLOW_UNINSTALL_APPS"]) {
restrictions["disallowUninstallApps"] = restriction["enabled"]; restrictions["disallowUninstallApps"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_UNMUTE_MICROPHONE"]){ } else if (featureCode == androidOperationConstants["DISALLOW_UNMUTE_MICROPHONE"]) {
restrictions["disallowUnmuteMicrophone"] = restriction["enabled"]; restrictions["disallowUnmuteMicrophone"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["DISALLOW_USB_FILE_TRANSFER"]){ } else if (featureCode == androidOperationConstants["DISALLOW_USB_FILE_TRANSFER"]) {
restrictions["disallowUSBFileTransfer"] = restriction["enabled"]; restrictions["disallowUSBFileTransfer"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["ALLOW_PARENT_PROFILE_APP_LINKING"]){ } else if (featureCode == androidOperationConstants["ALLOW_PARENT_PROFILE_APP_LINKING"]) {
restrictions["disallowParentProfileAppLinking"] = restriction["enabled"]; restrictions["disallowParentProfileAppLinking"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["ENSURE_VERIFY_APPS"]){ } else if (featureCode == androidOperationConstants["ENSURE_VERIFY_APPS"]) {
restrictions["ensureVerifyApps"] = restriction["enabled"]; restrictions["ensureVerifyApps"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["AUTO_TIME"]){ } else if (featureCode == androidOperationConstants["AUTO_TIME"]) {
restrictions["enableAutoTime"] = restriction["enabled"]; restrictions["enableAutoTime"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["SET_SCREEN_CAPTURE_DISABLED"]){ } else if (featureCode == androidOperationConstants["SET_SCREEN_CAPTURE_DISABLED"]) {
restrictions["disableScreenCapture"] = restriction["enabled"]; restrictions["disableScreenCapture"] = restriction["enabled"];
continue; continue;
} else if (featureCode == androidOperationConstants["SET_STATUS_BAR_DISABLED"]){ } else if (featureCode == androidOperationConstants["SET_STATUS_BAR_DISABLED"]) {
restrictions["disableStatusBar"] = restriction["enabled"]; restrictions["disableStatusBar"] = restriction["enabled"];
continue; continue;
} }

@ -85,6 +85,7 @@ var InitiateViewOption = null;
} }
function loadOperationsLog(update) { function loadOperationsLog(update) {
var owner = $("#device-owner").data("owner");
var operationsLogTable = "#operations-log-table"; var operationsLogTable = "#operations-log-table";
if (update) { if (update) {
operationTable = $(operationsLogTable).DataTable(); operationTable = $(operationsLogTable).DataTable();
@ -100,7 +101,7 @@ var InitiateViewOption = null;
order: [], order: [],
ajax: { ajax: {
url: "/emm/api/operation/paginate", url: "/emm/api/operation/paginate",
data: {deviceId : deviceIdentifier, deviceType: deviceType}, data: {deviceId : deviceIdentifier, deviceType: deviceType ,owner:owner },
dataSrc: function (json) { dataSrc: function (json) {
$("#operations-spinner").addClass("hidden"); $("#operations-spinner").addClass("hidden");
$("#operations-log-container").empty(); $("#operations-log-container").empty();

@ -16,7 +16,7 @@
{{/if}} {{/if}}
</h1> </h1>
<div class="row no-gutter add-padding-5x add-margin-top-5x" style="border: 1px solid #e4e4e4;"> <div class="row no-gutter add-padding-5x add-margin-top-5x" style="border: 1px solid #e4e4e4;">
<div class="media"> <div class="media" id="device-owner" data-owner="{{deviceView.owner}}">
<div class="media-left media-middle asset-image col-xs-2 col-sm-2 col-md-2 col-lg-2"> <div class="media-left media-middle asset-image col-xs-2 col-sm-2 col-md-2 col-lg-2">
<div class="thumbnail icon"><i class="square-element text fw fw-mobile"></i></div> <div class="thumbnail icon"><i class="square-element text fw fw-mobile"></i></div>
</div> </div>

@ -147,14 +147,14 @@
<input id="user-roles-radio-btn" type="radio" <input id="user-roles-radio-btn" type="radio"
name="select-users-radio-btn" name="select-users-radio-btn"
class="select-users-radio" checked/> class="select-users-radio" checked/>
<span class="helper">&nbsp;Set user role(s)</span> <span class="helper">Set user role(s)</span>
</label> </label>
{{/if}} {{/if}}
{{#if isAuthorizedViewUsers}} {{#if isAuthorizedViewUsers}}
<label class="wr-input-control radio light" rel="assetfilter"> <label class="wr-input-control radio light" rel="assetfilter">
<input id="users-radio-btn" type="radio" name="select-users-radio-btn" <input id="users-radio-btn" type="radio" name="select-users-radio-btn"
class="select-users-radio"/> class="select-users-radio"/>
<span class="helper">&nbsp;Set user(s)</span> <span class="helper">Set user(s)</span>
</label> </label>
{{/if}} {{/if}}
</div> </div>
@ -231,8 +231,8 @@
<div class="wr-advance-operations"> <div class="wr-advance-operations">
<div class="wr-advance-operations-init"> <div class="wr-advance-operations-init">
<br> <br>
&nbsp;&nbsp;&nbsp;&nbsp;<i class="fw fw-settings fw-spin fw-2x"></i> <i class="fw fw-settings fw-spin fw-2x"></i>
&nbsp;&nbsp;&nbsp;Loading platform features . . . Loading platform features . . .
<br><br> <br><br>
</div> </div>
</div> </div>
@ -249,8 +249,8 @@
</div> </div>
<div id="loading-content" class="col-centered"> <div id="loading-content" class="col-centered">
<br><br> <br><br>
&nbsp;&nbsp;<i class="fw fw-settings fw-spin fw-2x"></i> <i class="fw fw-settings fw-spin fw-2x"></i>
&nbsp;&nbsp;&nbsp;Loading policy creation wizard . . . Loading policy creation wizard . . .
<br><br> <br><br>
</div> </div>
<div class=" col-centered wr-content policy-platform hidden"> <div class=" col-centered wr-content policy-platform hidden">

@ -47,10 +47,10 @@ var androidOperationConstants = {
"WIFI_OPERATION_CODE": "WIFI", "WIFI_OPERATION_CODE": "WIFI",
"VPN_OPERATION": "vpn", "VPN_OPERATION": "vpn",
"VPN_OPERATION_CODE": "VPN", "VPN_OPERATION_CODE": "VPN",
"APPLICATION_OPERATION":"app-restriction", "APPLICATION_OPERATION": "app-restriction",
"APPLICATION_OPERATION_CODE":"APP-RESTRICTION", "APPLICATION_OPERATION_CODE": "APP-RESTRICTION",
"KIOSK_APPS_CODE":"KIOSK_APPS", "KIOSK_APPS_CODE": "KIOSK_APPS",
"KIOSK_APPS":"cosu-whitelisted-applications" "KIOSK_APPS": "cosu-whitelisted-applications"
}; };
// Constants to define iOS Operation Constants // Constants to define iOS Operation Constants
@ -2538,14 +2538,14 @@ var slideDownPaneAgainstValueSet = function (selectElement, paneID, valueSet) {
var slideDownPaneAgainstValueSetForRadioButtons = function (selectElement, paneID, valueSet) { var slideDownPaneAgainstValueSetForRadioButtons = function (selectElement, paneID, valueSet) {
var selectedValueOnChange = selectElement.value; var selectedValueOnChange = selectElement.value;
var i, slideDownVotes = 0; var slideDownVotes = 0;
for (i = 0; i < valueSet.length; i++) { for (var i = 0; i < valueSet.length; i++) {
if (selectedValueOnChange == valueSet[i]) { if (selectedValueOnChange == valueSet[i]) {
slideDownVotes++; slideDownVotes++;
} }
} }
var paneSelector = "#" + paneID; var paneSelector = "#" + paneID;
if(slideDownVotes > 0) { if (slideDownVotes > 0) {
$(paneSelector).removeClass("hidden"); $(paneSelector).removeClass("hidden");
} else { } else {
$(paneSelector).addClass("hidden"); $(paneSelector).addClass("hidden");

@ -24,11 +24,9 @@
<i class="fw fw-security fw-stack-2x"></i> <i class="fw fw-security fw-stack-2x"></i>
</span> </span>
Encryption Settings Encryption Settings
<span id="encrypt-storage-configured" class="has-configured status-icon hidden"><i <span id="encrypt-storage-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
class="fw fw-ok"></i></span>
<span id="encrypt-storage-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span> <span id="encrypt-storage-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
<span id="encrypt-storage-error" class="encryption-error status-icon hidden"><i <span id="encrypt-storage-error" class="encryption-error status-icon hidden"><i class="fw fw-error"></i></span>
class="fw fw-error"></i></span>
</a> </a>
<a href="javascript:void(0)" onclick="showAdvanceOperation('wifi', this)"> <a href="javascript:void(0)" onclick="showAdvanceOperation('wifi', this)">
<span class="wr-hidden-operations-icon fw-stack"> <span class="wr-hidden-operations-icon fw-stack">
@ -63,12 +61,11 @@
<i class="fw fw-block fw-stack-2x"></i> <i class="fw fw-block fw-stack-2x"></i>
</span> </span>
Application Restrictions Application Restrictions
<span id="app-restriction-configured" class="has-configured status-icon hidden"><i <span id="app-restriction-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
class="fw fw-ok"></i></span>
<span id="app-restriction-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span> <span id="app-restriction-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
<span id="app-restriction-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span> <span id="app-restriction-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>
</a> </a>
<a href="javascript:void(0)" onclick="showAdvanceOperation('cosu-system-update-policy', this)" class="hidden"> <a href="javascript:void(0)" onclick="showAdvanceOperation('cosu-system-update-policy', this)" class="hide">
<span class="wr-hidden-operation-icon fw-stack"> <span class="wr-hidden-operation-icon fw-stack">
<i class="fw fw-import fw-stack-2x"></i> <i class="fw fw-import fw-stack-2x"></i>
</span> </span>
@ -77,7 +74,7 @@
<span id="cosu-system-update-policy-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span> <span id="cosu-system-update-policy-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
<span id="cosu-system-update-policy-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span> <span id="cosu-system-update-policy-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>
</a> </a>
<a href="javascript:void(0)" onclick="showAdvanceOperation('cosu-whitelisted-applications', this)" class="hidden"> <a href="javascript:void(0)" onclick="showAdvanceOperation('cosu-whitelisted-applications', this)" class="hide">
<span class="wr-hidden-operations-icon fw-stack"> <span class="wr-hidden-operations-icon fw-stack">
<i class="fw fw-register fw-stack-2x"></i> <i class="fw fw-register fw-stack-2x"></i>
</span> </span>
@ -105,8 +102,7 @@
</h2> </h2>
<div class="panel-title-description"> <div class="panel-title-description">
This configuration can be used to set a passcode policy to an Android Device. This configuration can be used to set a passcode policy to an Android Device.
Once this configuration profile is installed on a device, corresponding users will not be Once this configuration profile is installed on a device, corresponding users will not be able
able
to modify these settings on their devices. to modify these settings on their devices.
</div> </div>
</div> </div>
@ -259,8 +255,7 @@
</h2> </h2>
<div class="panel-title-description"> <div class="panel-title-description">
This configurations can be used to restrict certain settings on an Android device. This configurations can be used to restrict certain settings on an Android device.
Once this configuration profile is installed on a device, corresponding users will not be Once this configuration profile is installed on a device, corresponding users will not be able
able
to modify these settings on their devices. to modify these settings on their devices.
</div> </div>
</div> </div>
@ -662,8 +657,7 @@
<div> <div>
<ul class="message message-info"> <ul class="message message-info">
<i class="icon fw fw-info"></i> <i class="icon fw fw-info"></i>
<a id="policy-listing-status-msg">Below restrictions will be applied on devices with Android <a id="policy-listing-status-msg">Below restrictions will be applied on devices with Android version 6.0 Marshmallow onwards only.</a>
version 6.0 Marshmallow onwards only.</a>
</ul> </ul>
</div> </div>
<div class="wr-input-control"> <div class="wr-input-control">
@ -697,10 +691,8 @@
</label> </label>
</h2> </h2>
<div class="panel-title-description"> <div class="panel-title-description">
This configuration can be used to encrypt data on an Android device, when the device is This configuration can be used to encrypt data on an Android device, when the device is locked and
locked and make it readable when the passcode is entered. Once this configuration profile is installed on a device,
make it readable when the passcode is entered. Once this configuration profile is installed
on a device,
corresponding users will not be able to modify these settings on their devices. corresponding users will not be able to modify these settings on their devices.
</div> </div>
</div> </div>
@ -744,8 +736,7 @@
</h2> </h2>
<div class="panel-title-description"> <div class="panel-title-description">
This configurations can be used to configure Wi-Fi access on an Android device. This configurations can be used to configure Wi-Fi access on an Android device.
Once this configuration profile is installed on a device, corresponding users will not be Once this configuration profile is installed on a device, corresponding users will not be able
able
to modify these settings on their devices. to modify these settings on their devices.
</div> </div>
</div> </div>
@ -879,8 +870,8 @@
</div> </div>
<div class="wr-input-control" id="control-wifi-password" style="display:none;"> <div class="wr-input-control" id="control-wifi-password" style="display:none;">
<label class="wr-input-label" for="wifi-password"> <label class="wr-input-label" for="wifi-password">
Password* Password
<span class="helper" title="Password for the wireless network."> <span class="helper required" title="Password for the wireless network.">
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -1018,8 +1009,7 @@
</h2> </h2>
<div class="panel-title-description"> <div class="panel-title-description">
This configurations can be used to configure VPN settings on an Android device. This configurations can be used to configure VPN settings on an Android device.
Once this configuration profile is installed on a device, corresponding users will not be Once this configuration profile is installed on a device, corresponding users will not be able
able
to modify these settings on their devices. to modify these settings on their devices.
</div> </div>
</div> </div>
@ -1179,10 +1169,9 @@
</div> </div>
</div> </div>
</div> </div>
<!-- cosu-system-update-policy --> <!-- cosu-system-update-policy -->
<div class="wr-hidden-operation hidden" data-operation="cosu-system-update-policy"> <div class="wr-hidden-operation hidden hide" data-operation="cosu-system-update-policy">
<div class="panel panel-default operation-data" data-operation="cosu-system-update-policy" <div class="panel panel-default operation-data" data-operation="cosu-system-update-policy-body"
data-operation-code="SYSTEM_UPDATE_POLICY"> data-operation-code="SYSTEM_UPDATE_POLICY">
<div id="cosu-system-update-policy-heading" class="panel-heading" role="tab"> <div id="cosu-system-update-policy-heading" class="panel-heading" role="tab">
<h2 class="sub-title panel-title"> <h2 class="sub-title panel-title">
@ -1196,8 +1185,7 @@
</h2> </h2>
<div class="panel-title-description"> <div class="panel-title-description">
This configuration can be used to set a passcode policy to an Android Device. This configuration can be used to set a passcode policy to an Android Device.
Once this configuration profile is installed on a device, corresponding users will not be Once this configuration profile is installed on a device, corresponding users will not be able
able
to modify these settings on their devices. to modify these settings on their devices.
</div> </div>
</div> </div>
@ -1326,9 +1314,8 @@
</div> </div>
</div> </div>
</div> </div>
<!-- cosu-whitelist-applications --> <!-- cosu-whitelist-applications -->
<div class="wr-hidden-operation hidden" data-operation="cosu-whitelisted-applications"> <div class="wr-hidden-operation hidden hide" data-operation="cosu-whitelisted-applications">
<div class="panel panel-default operation-data" data-operation="cosu-whitelisted-applications" <div class="panel panel-default operation-data" data-operation="cosu-whitelisted-applications"
data-operation-code="KIOSK_APPS"> data-operation-code="KIOSK_APPS">
<div id="cosu-whitelisted-applications-heading" class="panel-heading" role="tab"> <div id="cosu-whitelisted-applications-heading" class="panel-heading" role="tab">
@ -1343,8 +1330,7 @@
</h2> </h2>
<div class="panel-title-description"> <div class="panel-title-description">
This configuration can be used to set a passcode policy to an Android Device. This configuration can be used to set a passcode policy to an Android Device.
Once this configuration profile is installed on a device, corresponding users will not be Once this configuration profile is installed on a device, corresponding users will not be able
able
to modify these settings on their devices. to modify these settings on their devices.
</div> </div>
</div> </div>
@ -1367,7 +1353,6 @@
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x"></i>
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
</span> </span>
Add Application Add Application
</a> </a>
</label> </label>

@ -113,10 +113,10 @@ var androidOperationConstants = {
"ENCRYPT_STORAGE_OPERATION_CODE": "ENCRYPT_STORAGE", "ENCRYPT_STORAGE_OPERATION_CODE": "ENCRYPT_STORAGE",
"WIFI_OPERATION": "wifi", "WIFI_OPERATION": "wifi",
"WIFI_OPERATION_CODE": "WIFI", "WIFI_OPERATION_CODE": "WIFI",
"APPLICATION_OPERATION":"app-restriction", "APPLICATION_OPERATION": "app-restriction",
"APPLICATION_OPERATION_CODE":"APP-RESTRICTION", "APPLICATION_OPERATION_CODE": "APP-RESTRICTION",
"KIOSK_APPS_CODE":"KIOSK_APPS", "KIOSK_APPS_CODE": "KIOSK_APPS",
"KIOSK_APPS":"cosu-whitelisted-applications" "KIOSK_APPS": "cosu-whitelisted-applications"
}; };
// Constants to define Android Operation Constants // Constants to define Android Operation Constants
@ -524,8 +524,7 @@ validateStep["policy-profile"] = function () {
"erroneousFeature": operation "erroneousFeature": operation
}; };
continueToCheckNextInputs = false; continueToCheckNextInputs = false;
} } else {
else {
childInputCount = 0; childInputCount = 0;
childInputArray = []; childInputArray = [];
emptyChildInputCount = 0; emptyChildInputCount = 0;
@ -565,8 +564,8 @@ validateStep["policy-profile"] = function () {
// If empty child inputs are present // If empty child inputs are present
validationStatus = { validationStatus = {
"error": true, "error": true,
"subErrorMsg": "One or more package names of " + "subErrorMsg": "One or more package names of applications are" +
"applications are empty.", " empty.",
"erroneousFeature": operation "erroneousFeature": operation
}; };
continueToCheckNextInputs = false; continueToCheckNextInputs = false;
@ -574,8 +573,7 @@ validateStep["policy-profile"] = function () {
// If duplicate input is present // If duplicate input is present
validationStatus = { validationStatus = {
"error": true, "error": true,
"subErrorMsg": "Duplicate values exist with " + "subErrorMsg": "Duplicate values exist with for package names.",
"for package names.",
"erroneousFeature": operation "erroneousFeature": operation
}; };
continueToCheckNextInputs = false; continueToCheckNextInputs = false;
@ -2316,16 +2314,14 @@ var slideDownPaneAgainstValueSet = function (selectElement, paneID, valueSet) {
var slideDownPaneAgainstValueSetForRadioButtons = function (selectElement, paneID, valueSet) { var slideDownPaneAgainstValueSetForRadioButtons = function (selectElement, paneID, valueSet) {
var selectedValueOnChange = selectElement.value; var selectedValueOnChange = selectElement.value;
var slideDownVotes = 0;
var i, slideDownVotes = 0; for (var i = 0; i < valueSet.length; i++) {
for (i = 0; i < valueSet.length; i++) {
if (selectedValueOnChange == valueSet[i]) { if (selectedValueOnChange == valueSet[i]) {
slideDownVotes++; slideDownVotes++;
} }
} }
var paneSelector = "#" + paneID; var paneSelector = "#" + paneID;
if(slideDownVotes > 0) { if (slideDownVotes > 0) {
$(paneSelector).removeClass("hidden"); $(paneSelector).removeClass("hidden");
} else { } else {
$(paneSelector).addClass("hidden"); $(paneSelector).addClass("hidden");

@ -86,11 +86,13 @@
<!--</span>--> <!--</span>-->
<!--Web clips--> <!--Web clips-->
<!--</a>--> <!--</a>-->
<!--
<a href="javascript:void(0)" onclick="showAdvanceOperation('cosu-system-update-policy', this)"> <a href="javascript:void(0)" onclick="showAdvanceOperation('cosu-system-update-policy', this)">
<span class="wr-hidden-operation-icon fw-stack"> <span class="wr-hidden-operation-icon fw-stack">
<i class="fw fw-import fw-stack-2x"></i> <i class="fw fw-import fw-stack-2x"></i>
</span> </span>
&nbsp;&nbsp;System Update Policy (COSU) System Update Policy (COSU)
<span id="cosu-system-update-policy-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span> <span id="cosu-system-update-policy-configured" class="has-configured status-icon hidden"><i class="fw fw-ok"></i></span>
<span id="cosu-system-update-policy-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span> <span id="cosu-system-update-policy-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
<span id="cosu-system-update-policy-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span> <span id="cosu-system-update-policy-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>
@ -104,6 +106,7 @@
<span id="cosu-whitelisted-applications-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span> <span id="cosu-whitelisted-applications-ok" class="has-success status-icon hidden"><i class="fw fw-ok"></i></span>
<span id="cosu-whitelisted-applications-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span> <span id="cosu-whitelisted-applications-error" class="has-error status-icon hidden"><i class="fw fw-error"></i></span>
</a> </a>
-->
</div> </div>
<div class="wr-hidden-operations-content col-lg-8"> <div class="wr-hidden-operations-content col-lg-8">
@ -142,7 +145,7 @@
checked="checked"/> checked="checked"/>
<span class="helper" <span class="helper"
title="Permit the use of repeating, ascending and descending character sequences"> title="Permit the use of repeating, ascending and descending character sequences">
&nbsp;&nbsp;&nbsp;Allow simple value Allow simple value
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -154,7 +157,7 @@
class="form-control operationDataKeys" data-key="passcodePolicyRequireAlphanumeric" class="form-control operationDataKeys" data-key="passcodePolicyRequireAlphanumeric"
checked="checked"/> checked="checked"/>
<span class="helper" title="Require passcode to contain both letters and numbers"> <span class="helper" title="Require passcode to contain both letters and numbers">
&nbsp;&nbsp;&nbsp;Require alphanumeric value Require alphanumeric value
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -297,7 +300,7 @@
data-key="cameraEnabled" checked="checked"/> data-key="cameraEnabled" checked="checked"/>
<span class="helper" <span class="helper"
title="Having this checked would enable Usage of phone camera in the device."> title="Having this checked would enable Usage of phone camera in the device.">
&nbsp;&nbsp;&nbsp;Allow use of camera Allow use of camera
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -311,7 +314,7 @@
<input id="volume-adjust-enabled" type="checkbox" class="operationDataKeys" <input id="volume-adjust-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowAdjustVolumeEnabled"/> data-key="disallowAdjustVolumeEnabled"/>
<span class="helper" title="Having this checked would disallow volume adjust."> <span class="helper" title="Having this checked would disallow volume adjust.">
&nbsp;&nbsp;&nbsp;Disallow volume adjust Disallow volume adjust
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -322,7 +325,7 @@
<input id="disallow-configuring-bluetooth-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-configuring-bluetooth-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowConfigBluetooth"/> data-key="disallowConfigBluetooth"/>
<span class="helper" title="Having this checked would disallow configuring bluetooth."> <span class="helper" title="Having this checked would disallow configuring bluetooth.">
&nbsp;&nbsp;&nbsp;Disallow configuring bluetooth. Disallow configuring bluetooth.
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -334,7 +337,7 @@
class="operationDataKeys" class="operationDataKeys"
data-key="disallowConfigCellBroadcasts"/> data-key="disallowConfigCellBroadcasts"/>
<span class="helper" title="Having this checked would disallow configuring cell broadcast."> <span class="helper" title="Having this checked would disallow configuring cell broadcast.">
&nbsp;&nbsp;&nbsp;Disallow cell broadcast Disallow cell broadcast
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -346,7 +349,7 @@
class="operationDataKeys" class="operationDataKeys"
data-key="disallowConfigCredentials"/> data-key="disallowConfigCredentials"/>
<span class="helper" title="Having this checked would disallow configuring credentials."> <span class="helper" title="Having this checked would disallow configuring credentials.">
&nbsp;&nbsp;&nbsp;Disallow configuring credentials Disallow configuring credentials
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -359,7 +362,7 @@
data-key="disallowConfigMobileNetworks"/> data-key="disallowConfigMobileNetworks"/>
<span class="helper" <span class="helper"
title="Having this checked would disallow configuring mobile networks."> title="Having this checked would disallow configuring mobile networks.">
&nbsp;&nbsp;&nbsp;Disallow configuring mobile networks Disallow configuring mobile networks
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -371,7 +374,7 @@
class="operationDataKeys" class="operationDataKeys"
data-key="disallowConfigTethering"/> data-key="disallowConfigTethering"/>
<span class="helper" title="Having this checked would disallow configuring tethering."> <span class="helper" title="Having this checked would disallow configuring tethering.">
&nbsp;&nbsp;&nbsp;Disallow configuring tethering Disallow configuring tethering
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -382,7 +385,7 @@
<input id="disallow-configuring-VPN-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-configuring-VPN-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowConfigVpn"/> data-key="disallowConfigVpn"/>
<span class="helper" title="Having this checked would disallow configuring VPN."> <span class="helper" title="Having this checked would disallow configuring VPN.">
&nbsp;&nbsp;&nbsp;Disallow configuring VPN Disallow configuring VPN
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -393,7 +396,7 @@
<input id="disallow-configuring-Wifi-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-configuring-Wifi-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowConfigWifi"/> data-key="disallowConfigWifi"/>
<span class="helper" title="Having this checked would disallow configuring Wifi."> <span class="helper" title="Having this checked would disallow configuring Wifi.">
&nbsp;&nbsp;&nbsp;Disallow configuring Wifi Disallow configuring Wifi
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -406,7 +409,7 @@
class="operationDataKeys" class="operationDataKeys"
data-key="disallowAppControl"/> data-key="disallowAppControl"/>
<span class="helper" title="Having this checked would disallow configuring app control."> <span class="helper" title="Having this checked would disallow configuring app control.">
&nbsp;&nbsp;&nbsp;Disallow configuring app control Disallow configuring app control
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -417,7 +420,7 @@
<input id="disallow-create-window-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-create-window-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowCreateWindows"/> data-key="disallowCreateWindows"/>
<span class="helper" title="Having this checked would disallow create window."> <span class="helper" title="Having this checked would disallow create window.">
&nbsp;&nbsp;&nbsp;Disallow create window Disallow create window
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -429,7 +432,7 @@
class="operationDataKeys" class="operationDataKeys"
data-key="disallowCrossProfileCopyPaste"/> data-key="disallowCrossProfileCopyPaste"/>
<span class="helper" title="Having this checked would disallow cross profile copy paste."> <span class="helper" title="Having this checked would disallow cross profile copy paste.">
&nbsp;&nbsp;&nbsp;Disallow cross profile copy paste Disallow cross profile copy paste
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -440,7 +443,7 @@
<input id="disallow-debugging-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-debugging-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowDebugging"/> data-key="disallowDebugging"/>
<span class="helper" title="Having this checked would disallow debugging."> <span class="helper" title="Having this checked would disallow debugging.">
&nbsp;&nbsp;&nbsp;Disallow debuging Disallow debuging
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -451,7 +454,7 @@
<input id="disallow-factory-reset-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-factory-reset-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowFactoryReset"/> data-key="disallowFactoryReset"/>
<span class="helper" title="Having this checked would disallow factory reset."> <span class="helper" title="Having this checked would disallow factory reset.">
&nbsp;&nbsp;&nbsp;Disallow factory reset Disallow factory reset
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -462,7 +465,7 @@
<input id="disallow-add-user-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-add-user-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowAddUser"/> data-key="disallowAddUser"/>
<span class="helper" title="Having this checked would disallow add user."> <span class="helper" title="Having this checked would disallow add user.">
&nbsp;&nbsp;&nbsp;Disallow add user Disallow add user
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -473,7 +476,7 @@
<input id="disallow-install-apps-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-install-apps-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowInstallApps"/> data-key="disallowInstallApps"/>
<span class="helper" title="Having this checked would disallow install apps."> <span class="helper" title="Having this checked would disallow install apps.">
&nbsp;&nbsp;&nbsp;Disallow install apps Disallow install apps
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -486,7 +489,7 @@
data-key="disallowInstallUnknownSources"/> data-key="disallowInstallUnknownSources"/>
<span class="helper" title="Having this checked would disallow installing from unknown <span class="helper" title="Having this checked would disallow installing from unknown
sources."> sources.">
&nbsp;&nbsp;&nbsp;Disallow install from unknown sources Disallow install from unknown sources
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -497,7 +500,7 @@
<input id="disallow-modify-accounts-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-modify-accounts-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowModifyAccounts"/> data-key="disallowModifyAccounts"/>
<span class="helper" title="Having this checked would disallow modify accounts."> <span class="helper" title="Having this checked would disallow modify accounts.">
&nbsp;&nbsp;&nbsp;Disallow modify accounts Disallow modify accounts
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -508,7 +511,7 @@
<input id="disallow-mount-physical-media-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-mount-physical-media-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowMountPhysicalMedia"/> data-key="disallowMountPhysicalMedia"/>
<span class="helper" title="Having this checked would disallow mount physical media."> <span class="helper" title="Having this checked would disallow mount physical media.">
&nbsp;&nbsp;&nbsp;Disallow mount physical media Disallow mount physical media
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -519,7 +522,7 @@
<input id="disallow-network-reset-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-network-reset-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowNetworkReset"/> data-key="disallowNetworkReset"/>
<span class="helper" title="Having this checked would disallow network reset."> <span class="helper" title="Having this checked would disallow network reset.">
&nbsp;&nbsp;&nbsp;Disallow network reset Disallow network reset
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -530,7 +533,7 @@
<input id="disallow-outgoing-beam-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-outgoing-beam-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowOutgoingBeam"/> data-key="disallowOutgoingBeam"/>
<span class="helper" title="Having this checked would disallow outgoing beam."> <span class="helper" title="Having this checked would disallow outgoing beam.">
&nbsp;&nbsp;&nbsp;Disallow outgoing beam Disallow outgoing beam
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -541,7 +544,7 @@
<input id="disallow-outgoing-calls-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-outgoing-calls-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowOutgoingCalls"/> data-key="disallowOutgoingCalls"/>
<span class="helper" title="Having this checked would disallow outgoing calls."> <span class="helper" title="Having this checked would disallow outgoing calls.">
&nbsp;&nbsp;&nbsp;Disallow outgoing calls Disallow outgoing calls
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -552,7 +555,7 @@
<input id="disallow-remove-user-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-remove-user-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowRemoveUser"/> data-key="disallowRemoveUser"/>
<span class="helper" title="Having this checked would disallow remove user."> <span class="helper" title="Having this checked would disallow remove user.">
&nbsp;&nbsp;&nbsp;Disallow remove user Disallow remove user
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -563,7 +566,7 @@
<input id="disallow-safe-boot-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-safe-boot-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowSafeBoot"/> data-key="disallowSafeBoot"/>
<span class="helper" title="Having this checked would disallow safe boot."> <span class="helper" title="Having this checked would disallow safe boot.">
&nbsp;&nbsp;&nbsp;Disallow safe boot Disallow safe boot
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -574,7 +577,7 @@
<input id="disallow-location-sharing-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-location-sharing-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowLocationSharing"/> data-key="disallowLocationSharing"/>
<span class="helper" title="Having this checked would disallow location sharing."> <span class="helper" title="Having this checked would disallow location sharing.">
&nbsp;&nbsp;&nbsp;Disallow location sharing Disallow location sharing
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -585,7 +588,7 @@
<input id="disallow-SMS-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-SMS-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowSMS"/> data-key="disallowSMS"/>
<span class="helper" title="Having this checked would disallow SMS."> <span class="helper" title="Having this checked would disallow SMS.">
&nbsp;&nbsp;&nbsp;Disallow SMS Disallow SMS
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -596,7 +599,7 @@
<input id="disallow-uninstall-apps-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-uninstall-apps-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowUninstallApps"/> data-key="disallowUninstallApps"/>
<span class="helper" title="Having this checked would disallow uninstall apps."> <span class="helper" title="Having this checked would disallow uninstall apps.">
&nbsp;&nbsp;&nbsp;Disallow uninstall apps Disallow uninstall apps
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -607,7 +610,7 @@
<input id="disallow-unmute-microphone-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-unmute-microphone-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowUnmuteMicrophone"/> data-key="disallowUnmuteMicrophone"/>
<span class="helper" title="Having this checked would disallow unmute microphone."> <span class="helper" title="Having this checked would disallow unmute microphone.">
&nbsp;&nbsp;&nbsp;Disallow unmute microphone Disallow unmute microphone
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -618,7 +621,7 @@
<input id="disallow-USB-transfer-enabled" type="checkbox" class="operationDataKeys" <input id="disallow-USB-transfer-enabled" type="checkbox" class="operationDataKeys"
data-key="disallowUSBFileTransfer"/> data-key="disallowUSBFileTransfer"/>
<span class="helper" title="Having this checked would disallow USB file transfer."> <span class="helper" title="Having this checked would disallow USB file transfer.">
&nbsp;&nbsp;&nbsp;Disallow USB file transfer Disallow USB file transfer
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -630,7 +633,7 @@
class="operationDataKeys" class="operationDataKeys"
data-key="disallowParentProfileAppLinking"/> data-key="disallowParentProfileAppLinking"/>
<span class="helper" title="Having this checked would disallow parent profile app linking."> <span class="helper" title="Having this checked would disallow parent profile app linking.">
&nbsp;&nbsp;&nbsp;Disallow parent profile app linking Disallow parent profile app linking
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -641,7 +644,7 @@
<input id="ensure-verifying-apps-enabled" type="checkbox" class="operationDataKeys" <input id="ensure-verifying-apps-enabled" type="checkbox" class="operationDataKeys"
data-key="ensureVerifyApps"/> data-key="ensureVerifyApps"/>
<span class="helper" title="Having this checked would ensure verifying apps ."> <span class="helper" title="Having this checked would ensure verifying apps .">
&nbsp;&nbsp;&nbsp;Ensure verifying apps Ensure verifying apps
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -652,7 +655,7 @@
<input id="enable-auto-timing-enabled" type="checkbox" class="operationDataKeys" <input id="enable-auto-timing-enabled" type="checkbox" class="operationDataKeys"
data-key="enableAutoTime"/> data-key="enableAutoTime"/>
<span class="helper" title="Having this checked would enable auto timing ."> <span class="helper" title="Having this checked would enable auto timing .">
&nbsp;&nbsp;&nbsp;Enable auto timing Enable auto timing
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -663,7 +666,7 @@
<input id="disable-screen-capture-enabled" type="checkbox" class="operationDataKeys" <input id="disable-screen-capture-enabled" type="checkbox" class="operationDataKeys"
data-key="disableScreenCapture"/> data-key="disableScreenCapture"/>
<span class="helper" title="Having this checked would disable screen capture ."> <span class="helper" title="Having this checked would disable screen capture .">
&nbsp;&nbsp;&nbsp;Disable screen capture Disable screen capture
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -678,7 +681,7 @@
<input id="disable-status-bar-enabled" type="checkbox" class="operationDataKeys" <input id="disable-status-bar-enabled" type="checkbox" class="operationDataKeys"
data-key="disableStatusBar"/> data-key="disableStatusBar"/>
<span class="helper" title="Having this checked would disable status bar ."> <span class="helper" title="Having this checked would disable status bar .">
&nbsp;&nbsp;&nbsp;Disable status bar Disable status bar
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -726,7 +729,7 @@
data-key="encryptStorageEnabled" checked="checked"/> data-key="encryptStorageEnabled" checked="checked"/>
<span class="helper" <span class="helper"
title="Having this checked would enable Storage-encryption in the device"> title="Having this checked would enable Storage-encryption in the device">
&nbsp;&nbsp;&nbsp;Enable storage-encryption Enable storage-encryption
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -903,8 +906,8 @@
</div> </div>
<div class="wr-input-control" id="control-wifi-password" style="display:none;"> <div class="wr-input-control" id="control-wifi-password" style="display:none;">
<label class="wr-input-label" for="wifi-password"> <label class="wr-input-label" for="wifi-password">
Password* Password
<span class="helper" title="Password for the wireless network."> <span class="helper required" title="Password for the wireless network.">
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -969,7 +972,7 @@
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x"></i>
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
</span> </span>
&nbsp;
Add Application Add Application
</a> </a>
<div id="restricted-applications" <div id="restricted-applications"
@ -1107,7 +1110,7 @@
<!--<div class="panel-heading" role="tab">--> <!--<div class="panel-heading" role="tab">-->
<!--<h2 class="sub-title panel-title">--> <!--<h2 class="sub-title panel-title">-->
<!--<br>--> <!--<br>-->
<!--&nbsp;&nbsp;&nbsp;App Installations--> <!--App Installations-->
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#installApp">--> <!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#installApp">-->
<!--<input type="checkbox" />--> <!--<input type="checkbox" />-->
<!--<span class="helper"></span>--> <!--<span class="helper"></span>-->
@ -1151,7 +1154,7 @@
<!--<div class="panel-heading" role="tab">--> <!--<div class="panel-heading" role="tab">-->
<!--<h2 class="sub-title panel-title">--> <!--<h2 class="sub-title panel-title">-->
<!--<br>--> <!--<br>-->
<!--&nbsp;&nbsp;&nbsp;App Uninstallations--> <!--App Uninstallations-->
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#uninstallApp">--> <!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#uninstallApp">-->
<!--<input type="checkbox" />--> <!--<input type="checkbox" />-->
<!--<span class="helper"></span>--> <!--<span class="helper"></span>-->
@ -1181,7 +1184,7 @@
<!--<div class="panel-heading" role="tab">--> <!--<div class="panel-heading" role="tab">-->
<!--<h2 class="sub-title panel-title">--> <!--<h2 class="sub-title panel-title">-->
<!--<br>--> <!--<br>-->
<!--&nbsp;&nbsp;&nbsp;Web clips--> <!--Web clips-->
<!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#installWebClip">--> <!--<label class="wr-input-control switch" data-toggle="collapse" data-target="#installWebClip">-->
<!--<input type="checkbox" />--> <!--<input type="checkbox" />-->
<!--<span class="helper"></span>--> <!--<span class="helper"></span>-->
@ -1238,7 +1241,7 @@
<label class="wr-input-control checkbox"> <label class="wr-input-control checkbox">
<input id="work-profile-policy-allow-cross-profile" type="checkbox" class="form-control operationDataKeys" data-key="workProfilePolicyAllowCopyPaste" checked="checked" /> <input id="work-profile-policy-allow-cross-profile" type="checkbox" class="form-control operationDataKeys" data-key="workProfilePolicyAllowCopyPaste" checked="checked" />
<span class="helper" title="Permit the use of repeating, ascending and descending character sequences"> <span class="helper" title="Permit the use of repeating, ascending and descending character sequences">
&nbsp;&nbsp;&nbsp;Allow cross profile copy-paste Allow cross profile copy-paste
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>
@ -1311,7 +1314,6 @@
</div> </div>
</div> </div>
</div> </div>
<!-- cosu-system-update-policy --> <!-- cosu-system-update-policy -->
<div class="wr-hidden-operation" data-operation="cosu-system-update-policy"> <div class="wr-hidden-operation" data-operation="cosu-system-update-policy">
<div class="panel panel-default operation-data" data-operation="cosu-system-update-policy" <div class="panel panel-default operation-data" data-operation="cosu-system-update-policy"
@ -1328,8 +1330,7 @@
<hr> <hr>
<div class="panel-title-description"> <div class="panel-title-description">
This configuration can be used to set system update policy to an Android Device in COSU. This configuration can be used to set system update policy to an Android Device in COSU.
Once this configuration profile is installed on a device, corresponding users will not be Once this configuration profile is installed on a device, corresponding users will not be able
able
to modify these settings on their devices. to modify these settings on their devices.
</div> </div>
</h2> </h2>
@ -1353,7 +1354,7 @@
class="form-control operationDataKeys" data-key="cosuSystemUpdatePolicyType" class="form-control operationDataKeys" data-key="cosuSystemUpdatePolicyType"
value="automatic" onclick="slideDownPaneAgainstValueSetForRadioButtons(this, 'cosu-system-update-policy-window-select', ['window'])" checked/> value="automatic" onclick="slideDownPaneAgainstValueSetForRadioButtons(this, 'cosu-system-update-policy-window-select', ['window'])" checked/>
<span class="helper" title="Installs system update automatically as soon as one is available"> <span class="helper" title="Installs system update automatically as soon as one is available">
&nbsp;Automatic Automatic
</span> </span>
</label> </label>
<label class="wr-input-control radio light"> <label class="wr-input-control radio light">
@ -1361,7 +1362,7 @@
class="form-control operationDataKeys" data-key="cosuSystemUpdatePolicyType" class="form-control operationDataKeys" data-key="cosuSystemUpdatePolicyType"
value="postpone" onclick="slideDownPaneAgainstValueSetForRadioButtons(this, 'cosu-system-update-policy-window-select', ['window'])"/> value="postpone" onclick="slideDownPaneAgainstValueSetForRadioButtons(this, 'cosu-system-update-policy-window-select', ['window'])"/>
<span class="helper" title="Incoming system update will be blocked for a maximum of 30 days"> <span class="helper" title="Incoming system update will be blocked for a maximum of 30 days">
&nbsp;Postpone Postpone
</span> </span>
</label> </label>
<label class="wr-input-control radio light"> <label class="wr-input-control radio light">
@ -1369,7 +1370,7 @@
class="form-control operationDataKeys" data-key="cosuSystemUpdatePolicyType" class="form-control operationDataKeys" data-key="cosuSystemUpdatePolicyType"
value="window" onclick="slideDownPaneAgainstValueSetForRadioButtons(this, 'cosu-system-update-policy-window-select', ['window'])"/> value="window" onclick="slideDownPaneAgainstValueSetForRadioButtons(this, 'cosu-system-update-policy-window-select', ['window'])"/>
<span class="helper" title="Install system update automatically within a daily maintenance window, for a maximum of 30 days"> <span class="helper" title="Install system update automatically within a daily maintenance window, for a maximum of 30 days">
&nbsp;Window Window
</span> </span>
</label> </label>
</div> </div>
@ -1460,7 +1461,6 @@
</div> </div>
</div> </div>
</div> </div>
<!-- cosu-whitelist-applications --> <!-- cosu-whitelist-applications -->
<div class="wr-hidden-operation" data-operation="cosu-whitelisted-applications"> <div class="wr-hidden-operation" data-operation="cosu-whitelisted-applications">
<div class="panel panel-default operation-data" data-operation="cosu-whitelisted-applications" <div class="panel panel-default operation-data" data-operation="cosu-whitelisted-applications"
@ -1477,8 +1477,7 @@
<hr> <hr>
<div class="panel-title-description"> <div class="panel-title-description">
This configuration can be used to whitelist applications in lock task mode of an Android Device in COSU. This configuration can be used to whitelist applications in lock task mode of an Android Device in COSU.
Once this configuration profile is installed on a device, corresponding users will not be Once this configuration profile is installed on a device, corresponding users will not be able
able
to modify these settings on their devices. to modify these settings on their devices.
</div> </div>
</h2> </h2>
@ -1501,7 +1500,7 @@
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x"></i>
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
</span> </span>
&nbsp;
Add Application Add Application
</a> </a>
</label> </label>

@ -1954,8 +1954,8 @@ var slideDownPaneAgainstValueSet = function (selectElement, paneID, valueSet) {
var slideDownPaneAgainstValueSetForRadioButtons = function (selectElement, paneID, valueSet) { var slideDownPaneAgainstValueSetForRadioButtons = function (selectElement, paneID, valueSet) {
var selectedValueOnChange = selectElement.value; var selectedValueOnChange = selectElement.value;
var i, slideDownVotes = 0; var slideDownVotes = 0;
for (i = 0; i < valueSet.length; i++) { for (var i = 0; i < valueSet.length; i++) {
if (selectedValueOnChange == valueSet[i]) { if (selectedValueOnChange == valueSet[i]) {
slideDownVotes++; slideDownVotes++;
} }

@ -335,8 +335,8 @@
</div> </div>
<div class="wr-input-control"> <div class="wr-input-control">
<label class="wr-input-label" for="wifi-password"> <label class="wr-input-label" for="wifi-password">
Password* Password
<span class="helper" title="Password for the wireless network."> <span class="helper required" title="Password for the wireless network.">
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span> <span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span> </span>
</label> </label>

Loading…
Cancel
Save