core: add PRIV_UNLIMITED_ACCESS to default permissions for judge user (#555)

This commit is contained in:
AgOH authored and GitHub committed 2023-04-09 15:30:38 +08:00
1 parent 569139b6e6
commit 330470f9b2
1 file changed
+1 -1
+1 -1
View File
@@ -418,7 +418,7 @@ class UserModel {
return await UserModel.setPriv(
uid,
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,
);
}