summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager/templates/roleeditor.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/roleeditor.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/roleeditor.html')
-rw-r--r--modules-available/permissionmanager/templates/roleeditor.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules-available/permissionmanager/templates/roleeditor.html b/modules-available/permissionmanager/templates/roleeditor.html
index d50f2145..8524427b 100644
--- a/modules-available/permissionmanager/templates/roleeditor.html
+++ b/modules-available/permissionmanager/templates/roleeditor.html
@@ -22,7 +22,10 @@
<div class="pull-right">
<a href="?do=permissionmanager&amp;show={{cancelShow}}" class="btn btn-default">{{lang_cancel}}</a>
- <button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
+ <button type="submit" class="btn btn-primary" {{perms.roles.edit.disabled}}>
+ <span class="glyphicon glyphicon-floppy-disk"></span>
+ {{lang_save}}
+ </button>
</div>
<ul class="nav nav-tabs text-center" role="tablist">
<li role="presentation" class="active"><a href="#permissions" role="tab" data-toggle="tab">{{lang_permissions}}</a></li>