feat: implementar pestaña de Gestion de Cuentas y autenticacion global RADIUS con JIT provisioning

This commit is contained in:
Carlos Tello
2026-08-15 10:04:43 -03:00
parent d010abe05c
commit bdce625767
15 changed files with 941 additions and 19 deletions
+16
View File
@@ -18,10 +18,26 @@ class UserResponse(BaseModel):
full_name: Optional[str]
role: str
is_active: bool
auth_source: str
created_at: datetime
model_config = {"from_attributes": True}
class UserCreate(BaseModel):
email: str
password: str
full_name: Optional[str] = None
role: str = "OPERATOR"
is_active: bool = True
auth_source: str = "local"
class UserUpdate(BaseModel):
email: Optional[str] = None
password: Optional[str] = None
full_name: Optional[str] = None
role: Optional[str] = None
is_active: Optional[bool] = None
# --- Client Schemas ---
class RegistrationCodeCreate(BaseModel):
client_name_hint: Optional[str] = None