diff options
author | Simon Rettberg | 2020-01-14 16:50:47 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-01-14 16:50:47 +0100 |
commit | f97ac52934278ef611520c1f3972d8d226af8f73 (patch) | |
tree | ab98cfaed0322ec25c91ee6b59030f5fef112d94 /modules-available/permissionmanager/templates/rolestable.html | |
parent | [dnbd3] Always add DNBD3 servers to config (for stage4) (diff) | |
download | slx-admin-f97ac52934278ef611520c1f3972d8d226af8f73.tar.gz slx-admin-f97ac52934278ef611520c1f3972d8d226af8f73.tar.xz slx-admin-f97ac52934278ef611520c1f3972d8d226af8f73.zip |
[permissionmanager] Also disallow deleting builtin roles
Diffstat (limited to 'modules-available/permissionmanager/templates/rolestable.html')
-rw-r--r-- | modules-available/permissionmanager/templates/rolestable.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/permissionmanager/templates/rolestable.html b/modules-available/permissionmanager/templates/rolestable.html index f3521964..170dde88 100644 --- a/modules-available/permissionmanager/templates/rolestable.html +++ b/modules-available/permissionmanager/templates/rolestable.html @@ -41,6 +41,7 @@ </a> </td> <td class="text-center"> + {{^builtin}} <button type="submit" name="deleteId" value="{{roleid}}" class="btn btn-xs btn-danger" {{perms.roles.edit.disabled}} data-confirm="#confirm-role-{{roleid}}" data-title="{{rolename}}"> <span class="glyphicon glyphicon-trash"></span> @@ -49,6 +50,7 @@ <p>{{lang_roleDeleteConfirm}}</p> {{lang_numAssignedUsers}}: {{users}} </div> + {{/builtin}} </td> </tr> {{/roles}} |