mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: add PRIV_UNLIMITED_ACCESS to default permissions for judge user (#555)
This commit is contained in:
1 file changed
+1
-1
@@ -418,7 +418,7 @@ class UserModel {
|
|||||||
return await UserModel.setPriv(
|
return await UserModel.setPriv(
|
||||||
uid,
|
uid,
|
||||||
PRIV.PRIV_USER_PROFILE | PRIV.PRIV_JUDGE | PRIV.PRIV_VIEW_ALL_DOMAIN
|
PRIV.PRIV_USER_PROFILE | PRIV.PRIV_JUDGE | PRIV.PRIV_VIEW_ALL_DOMAIN
|
||||||
| PRIV.PRIV_READ_PROBLEM_DATA,
|
| PRIV.PRIV_READ_PROBLEM_DATA | PRIV.PRIV_UNLIMITED_ACCESS,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user