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/header-menu.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/header-menu.html')
-rw-r--r-- | modules-available/permissionmanager/templates/header-menu.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/permissionmanager/templates/header-menu.html b/modules-available/permissionmanager/templates/header-menu.html index ce31d237..91bfa3af 100644 --- a/modules-available/permissionmanager/templates/header-menu.html +++ b/modules-available/permissionmanager/templates/header-menu.html @@ -4,17 +4,17 @@ <input type="hidden" name="do" value="permissionmanager"> <div class="btn-group {{groupClass}}"> - <button class="btn btn-default {{rolesButtonClass}}" type="submit" name="show" value="roles"> + <button class="btn btn-default {{rolesButtonClass}}" type="submit" name="show" value="roles" {{perms.roles.disabled}}> <span class="glyphicon glyphicon-education"></span> {{lang_roles}} </button> - <button class="btn btn-default {{usersButtonClass}}" type="submit" name="show" value="users"> + <button class="btn btn-default {{usersButtonClass}}" type="submit" name="show" value="users" {{perms.users.disabled}}> <span class="glyphicon glyphicon-user"></span> {{lang_users}} </button> - <button class="btn btn-default {{locationsButtonClass}}" type="submit" name="show" value="locations"> + <button class="btn btn-default {{locationsButtonClass}}" type="submit" name="show" value="locations" {{perms.locations.disabled}}> <span class="glyphicon glyphicon-home"></span> {{lang_locations}} </button> |