ui: add superuser

This commit is contained in:
undefined committed 2021-08-01 00:50:51 +08:00
1 parent 5916e4248a
commit 0c3847b756
9 files changed
+21 -8

No files matched your search

@@ -30,7 +30,7 @@
{%- for role in roles -%}
<td class="col--p">
<label class="compact checkbox">
<input name="{{ role._id }}" data-checkbox-group="{{ role._id }}" data-checkbox-range value="{{ log2(perm.key) }}" type="checkbox"{% if role.perm|bitand(perm.key) %} checked{% endif %}{% if role._id == 'admin' %} disabled{% endif %}>
<input name="{{ role._id }}" data-checkbox-group="{{ role._id }}" data-checkbox-range value="{{ log2(perm.key) }}" type="checkbox"{% if role.perm|bitand(perm.key) %} checked{% endif %}{% if role._id == 'root' %} disabled{% endif %}>
</label>
</td>
{%- endfor -%}