Fixing user menu not showing issue

revert-70aa11f8
Rasika Perera 8 years ago
parent 10774655b1
commit 2b46691405

@ -32,6 +32,7 @@ function onRequest(context) {
var constants = require("/app/modules/constants.js"); var constants = require("/app/modules/constants.js");
var uiPermissions = userModule.getUIPermissions(); var uiPermissions = userModule.getUIPermissions();
context["permissions"] = uiPermissions; context["permissions"] = uiPermissions;
context["userMgtEnabled"] = (uiPermissions["LIST_USERS"] || uiPermissions["LIST_ROLES"]);
var links = { var links = {
"user-mgt": [], "user-mgt": [],

Loading…
Cancel
Save