diff options
author | Simon Rettberg | 2018-02-19 13:36:35 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-02-19 13:36:35 +0100 |
commit | 7afe5a3ffee64ff5c1ee7692a2ac4c83d46d6a78 (patch) | |
tree | e1482e82af3b53422d0008669a05847079d660c6 /modules-available/permissionmanager/templates/treenode.html | |
parent | [vmstore] lang_intern -> lang_internal (diff) | |
download | slx-admin-7afe5a3ffee64ff5c1ee7692a2ac4c83d46d6a78.tar.gz slx-admin-7afe5a3ffee64ff5c1ee7692a2ac4c83d46d6a78.tar.xz slx-admin-7afe5a3ffee64ff5c1ee7692a2ac4c83d46d6a78.zip |
[permissionmanager] Implement permissions:
Permissinmanager is now protected by permissions.
In order to prevent complete lockout, the user with
userid == 1 will always be able to edit and assign permissions.
(TODO: Communicate this somehow)
Diffstat (limited to 'modules-available/permissionmanager/templates/treenode.html')
-rw-r--r-- | modules-available/permissionmanager/templates/treenode.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/permissionmanager/templates/treenode.html b/modules-available/permissionmanager/templates/treenode.html index a4a3d7b5..f8ee3df5 100644 --- a/modules-available/permissionmanager/templates/treenode.html +++ b/modules-available/permissionmanager/templates/treenode.html @@ -1,7 +1,7 @@ {{#toplevel}}<ul>{{/toplevel}} <li {{#description}}title="{{description}}" data-toggle="tooltip" data-placement="left"{{/description}}> <div class='checkbox'> - <input id="{{id}}" name="{{checkboxname}}[]" value="{{id}}" type="checkbox" {{#selected}}checked{{/selected}}> + <input id="{{id}}" name="{{checkboxname}}[]" value="{{id}}" type="checkbox" {{#selected}}checked{{/selected}} {{edit_disabled}} {{perms.roles.edit.disabled}}> <label for="{{id}}"> {{name}} {{#location-aware}}<span class="glyphicon glyphicon-home text-muted"></span>{{/location-aware}} |