Skip to content

Commit

Permalink
grumble
Browse files Browse the repository at this point in the history
  • Loading branch information
twd2 committed Sep 16, 2016
1 parent 4dbb985 commit d1c20e8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions vj4/model/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1c20e8

Please sign in to comment.