diff options
author | 2024-09-23 21:04:22 +0100 | |
---|---|---|
committer | 2024-09-23 21:04:22 +0100 | |
commit | 72e586ae5ee395cfd3bc67e99815b7046fcc7083 (patch) | |
tree | 3782666c1b2ccaa5cbcb7d6e132e600196e809b8 /thallium-backend | |
parent | Move import to a type checking block to avoid circular import (diff) |
Diffstat (limited to 'thallium-backend')
-rw-r--r-- | thallium-backend/src/dto/users.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/thallium-backend/src/dto/users.py b/thallium-backend/src/dto/users.py index 8faf4e7..f5aea0a 100644 --- a/thallium-backend/src/dto/users.py +++ b/thallium-backend/src/dto/users.py @@ -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): |