Skip to content

Commit

Permalink
Fix the intflag for perms
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Sep 23, 2024
1 parent ff15a15 commit 72e586a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions thallium-backend/src/dto/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ class UserPermission(IntFlag):

VIEW_VOUCHERS = 2**0
ISSUE_VOUCHERS = 2**1
REVOKE_VOUCHERS = 2**1
MANAGE_USERS = 2**2
VIEW_TEMPLATES = 2**3
UPDATE_TEMPLATES = 2**4
REVOKE_VOUCHERS = 2**2
MANAGE_USERS = 2**3
VIEW_TEMPLATES = 2**4
UPDATE_TEMPLATES = 2**5


class User(BaseModel):
Expand Down

0 comments on commit 72e586a

Please sign in to comment.