From d1c20e85f59fdaec92302dc8512bcb18930f3430 Mon Sep 17 00:00:00 2001 From: Wende Tan Date: Fri, 16 Sep 2016 23:30:27 +0800 Subject: [PATCH] grumble --- vj4/model/builtin.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/vj4/model/builtin.py b/vj4/model/builtin.py index 9bb99b75..2a989453 100644 --- a/vj4/model/builtin.py +++ b/vj4/model/builtin.py @@ -125,16 +125,16 @@ PRIV_SET_PERM = 1 << 1 PRIV_USER_PROFILE = 1 << 2 PRIV_REGISTER_USER = 1 << 3 -PRIV_READ_PROBLEM_DATA = 1 << 5 -PRIV_READ_PRETEST_DATA = 1 << 7 -PRIV_READ_PRETEST_DATA_SELF = 1 << 8 -PRIV_READ_RECORD_CODE = 1 << 9 -PRIV_VIEW_HIDDEN_RECORD = 1 << 10 -PRIV_WRITE_RECORD = 1 << 11 -PRIV_CREATE_DOMAIN = 1 << 12 -PRIV_VIEW_ALL_DOMAIN = 1 << 13 -PRIV_MANAGE_ALL_DOMAIN = 1 << 14 -PRIV_REJUDGE = 1 << 15 +PRIV_READ_PROBLEM_DATA = 1 << 4 +PRIV_READ_PRETEST_DATA = 1 << 5 +PRIV_READ_PRETEST_DATA_SELF = 1 << 6 +PRIV_READ_RECORD_CODE = 1 << 7 +PRIV_VIEW_HIDDEN_RECORD = 1 << 8 +PRIV_WRITE_RECORD = 1 << 9 +PRIV_CREATE_DOMAIN = 1 << 10 +PRIV_VIEW_ALL_DOMAIN = 1 << 11 +PRIV_MANAGE_ALL_DOMAIN = 1 << 12 +PRIV_REJUDGE = 1 << 13 PRIV_ALL = -1 DEFAULT_PRIV = PRIV_USER_PROFILE | PRIV_CREATE_DOMAIN