|
|
@ -60,8 +60,8 @@ function onRequest() {
|
|
|
|
viewModelData["roles"] = result["content"];
|
|
|
|
viewModelData["roles"] = result["content"];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
viewModelData.isAuthorized = userModule.isAuthorized("/permission/admin/device-mgt/policies/manage");
|
|
|
|
viewModelData.isAuthorized = userModule.isAuthorized("/permission/admin/device-mgt/policies/manage");
|
|
|
|
viewModelData.isAuthorizedViewUsers = userModule.isAuthorized("/permission/admin/device-mgt/roles/view");
|
|
|
|
viewModelData.isAuthorizedViewUsers = userModule.isAuthorized("/permission/admin/device-mgt/users/view");
|
|
|
|
viewModelData.isAuthorizedViewRoles = userModule.isAuthorized("/permission/admin/device-mgt/users/view");
|
|
|
|
viewModelData.isAuthorizedViewRoles = userModule.isAuthorized("/permission/admin/device-mgt/roles/view");
|
|
|
|
|
|
|
|
|
|
|
|
return viewModelData;
|
|
|
|
return viewModelData;
|
|
|
|
}
|
|
|
|
}
|
|
|
|