users: add new owner level.

Add a new Owner user level for the site owner. Highly sensitive
operations like manually changing the passwords of other users will be
restricted to the site owner.
This commit is contained in:
evazion
2020-12-13 14:55:49 -06:00
parent 35134abe8f
commit b3ad13e6e3
7 changed files with 33 additions and 3 deletions

View File

@@ -1,4 +1,8 @@
body[data-current-user-style-usernames="true"] {
a.user-owner {
color: var(--user-admin-color);
}
a.user-admin {
color: var(--user-admin-color);
}

View File

@@ -27,6 +27,7 @@
margin-right: 0.25em;
border-radius: 3px;
&.user-tooltip-badge-owner { background-color: var(--user-admin-color); }
&.user-tooltip-badge-admin { background-color: var(--user-admin-color); }
&.user-tooltip-badge-moderator { background-color: var(--user-moderator-color); }
&.user-tooltip-badge-approver { background-color: var(--user-builder-color); }