Fic for EMM-1581

revert-dabc3590
kamidu 8 years ago
parent b65e99a4a7
commit 6144d9eea2

@ -177,7 +177,7 @@
</div> </div>
</div> </div>
{{/if}} {{/if}}
{{#if isAuthorizedVieUsers}} {{#if isAuthorizedViewUsers}}
<div id="users-select-field" class="select-users"> <div id="users-select-field" class="select-users">
<div class="wr-input-control"> <div class="wr-input-control">
<div class="cus-col-50"> <div class="cus-col-50">

@ -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;
} }

Loading…
Cancel
Save