mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
ui: add superuser
This commit is contained in:
1 parent
5916e4248a
commit
0c3847b756
9 files changed
+21
-8
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.30.5",
|
||||
"version": "2.30.6",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -226,6 +226,7 @@ PERM.PERM_ADMIN = PERM.PERM_ALL;
|
||||
|
||||
export const PRIV = {
|
||||
PRIV_NONE: 0,
|
||||
PRIV_MOD_BADGE: 1 << 25,
|
||||
PRIV_EDIT_SYSTEM: 1 << 0, // renamed from PRIV_SET_PRIV
|
||||
PRIV_SET_PERM: 1 << 1,
|
||||
PRIV_USER_PROFILE: 1 << 2,
|
||||
|
||||
Reference in new issue
Block a user