mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: fix root permission
This commit is contained in:
1 parent
0c3847b756
commit
739534f9f7
5 files changed
+12
-4
No files matched your search
@@ -45,7 +45,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="1000" type="checkbox" checked{% if role._id == 'admin' %} disabled{% endif %}>
|
||||
<input name="{{ role._id }}" data-checkbox-group="{{ role._id }}" data-checkbox-range value="1000" type="checkbox" checked{% if role._id == 'root' %} disabled{% endif %}>
|
||||
</label>
|
||||
</td>
|
||||
{%- endfor -%}
|
||||
|
||||
Reference in new issue
Block a user