summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager/templates/treepanel.html
diff options
context:
space:
mode:
authorSimon Rettberg2018-02-19 13:36:35 +0100
committerSimon Rettberg2018-02-19 13:36:35 +0100
commit7afe5a3ffee64ff5c1ee7692a2ac4c83d46d6a78 (patch)
treee1482e82af3b53422d0008669a05847079d660c6 /modules-available/permissionmanager/templates/treepanel.html
parent[vmstore] lang_intern -> lang_internal (diff)
downloadslx-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/treepanel.html')
-rw-r--r--modules-available/permissionmanager/templates/treepanel.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/permissionmanager/templates/treepanel.html b/modules-available/permissionmanager/templates/treepanel.html
index cda848a0..eccecb58 100644
--- a/modules-available/permissionmanager/templates/treepanel.html
+++ b/modules-available/permissionmanager/templates/treepanel.html
@@ -1,7 +1,7 @@
<div class="panel panel-primary tree-panel">
<div class="panel-heading">
<div class="checkbox">
- <input id="{{id}}" name="{{checkboxname}}[]" value="{{id}}" type="checkbox" class="master-checkbox" {{#selected}}checked{{/selected}}>
+ <input id="{{id}}" name="{{checkboxname}}[]" value="{{id}}" type="checkbox" class="master-checkbox" {{#selected}}checked{{/selected}} {{perms.roles.edit.disabled}}>
<label for="{{id}}">{{name}}</label>
</div>
</div>