Added frontend. Working on user management
This commit is contained in:
14
src/file-processor/app/models/auth.py
Normal file
14
src/file-processor/app/models/auth.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
Authentication models and enums for user management.
|
||||
|
||||
Contains user roles enumeration and authentication-related Pydantic models.
|
||||
"""
|
||||
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class UserRole(str, Enum):
|
||||
"""User roles enumeration with string values."""
|
||||
|
||||
USER = "user"
|
||||
ADMIN = "admin"
|
||||
Reference in New Issue
Block a user