From 83d9e184973dc1fa105f5d45a058016b9ea3cb3b Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Wed, 24 Dec 2025 13:14:29 -0800 Subject: [PATCH] fix: include role in UserRead schema for admin access --- backend/schemas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/schemas.py b/backend/schemas.py index 6a16e5a..4a546ea 100644 --- a/backend/schemas.py +++ b/backend/schemas.py @@ -12,6 +12,7 @@ class UserRead(SQLModel): email: str is_active: bool is_superuser: bool + role: str = "user" avatar_bg_color: Optional[str] = "#3B82F6" avatar_text: Optional[str] = None profile_public: bool = True