From 72e586ae5ee395cfd3bc67e99815b7046fcc7083 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 23 Sep 2024 21:04:22 +0100 Subject: Fix the intflag for perms --- thallium-backend/src/dto/users.py | 8 ++++---- 1 file 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): -- cgit v1.2.3