aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-backend/src/dto/users.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-08-24 20:59:45 +0100
committerGravatar Chris Lovering <[email protected]>2024-08-24 20:59:45 +0100
commit7b3f61b1d4dcafbca7c8fcef35d6c3b2e097bb57 (patch)
tree73fb18bd95edefd3322fd4c1207fddea935bb42e /thallium-backend/src/dto/users.py
parentDon't hitt he db to get voucher info now that it's on the request state (diff)
Add a new permission for updating templates from printful
Diffstat (limited to 'thallium-backend/src/dto/users.py')
-rw-r--r--thallium-backend/src/dto/users.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/thallium-backend/src/dto/users.py b/thallium-backend/src/dto/users.py
index 0d1cdac..35eadec 100644
--- a/thallium-backend/src/dto/users.py
+++ b/thallium-backend/src/dto/users.py
@@ -12,6 +12,7 @@ class UserPermission(IntFlag):
REVOKE_VOUCHERS = 2**1
VIEW_PRODUCTS = 2**2
MANAGE_USERS = 2**3
+ UPDATE_TEMPLATES = 2**4
class User(BaseModel):