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

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.30.5",
"version": "2.30.6",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",
+1
View File
@@ -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,