|
|
@ -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": [],
|
|
|
|