Fixing role retrieval issue in policy-mgt

revert-dabc3590
dilanua 8 years ago
parent 9dd2e1585a
commit 3cc2a8ca12

@ -42,8 +42,6 @@ function onRequest() {
}
var policyWizard = new File("/app/units/" + utility.getTenantedDeviceUnitName(deviceType, "policy-wizard"));
log.error("/app/units/" + utility.getTenantedDeviceUnitName(deviceType, "policy-wizard"));
if (policyWizard.isExists()) {
content["icon"] = utility.getDeviceThumb(deviceType);
content["label"] = deviceTypeLabel;
@ -52,7 +50,7 @@ function onRequest() {
}
}
var result = userModule.getRolesByUserStore();
var result = userModule.getRoles();
if (result["status"] == "success") {
viewModelData["roles"] = result["content"];
}

Loading…
Cancel
Save