diff options
Diffstat (limited to 'app/models.py')
-rw-r--r-- | app/models.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/models.py b/app/models.py index c703783..c402d09 100644 --- a/app/models.py +++ b/app/models.py @@ -85,9 +85,10 @@ class Permission(enum.Enum): return False if self == Permission.APPROVE_NEW or \ - self == Permission.APPROVE_CHANGES or \ - self == Permission.APPROVE_RELEASE or \ - self == Permission.APPROVE_SCREENSHOT: + self == Permission.APPROVE_CHANGES or \ + self == Permission.APPROVE_RELEASE or \ + self == Permission.APPROVE_SCREENSHOT or \ + self == Permission.SEE_THREAD: return user.rank.atLeast(UserRank.EDITOR) else: raise Exception("Non-global permission checked globally. Use Package.checkPerm or User.checkPerm instead.") |