This commit is contained in:
2026-03-16 16:45:08 +03:00
parent 274510fc38
commit 37af7fd6f3
9 changed files with 156 additions and 626 deletions

View File

@@ -1,10 +1,11 @@
# [DEF:backend.src.models.auth:Module]
# [DEF:AuthModels:Module]
#
# @TIER: STANDARD
# @COMPLEXITY: 3
# @SEMANTICS: auth, models, user, role, permission, sqlalchemy
# @PURPOSE: SQLAlchemy models for multi-user authentication and authorization.
# @LAYER: Domain
# @RELATION: INHERITS_FROM -> backend.src.models.mapping.Base
# @RELATION: INHERITS_FROM -> [Base]
#
# @INVARIANT: Usernames and emails must be unique.
@@ -102,4 +103,4 @@ class ADGroupMapping(Base):
role = relationship("Role")
# [/DEF:ADGroupMapping:Class]
# [/DEF:backend.src.models.auth:Module]
# [/DEF:AuthModels:Module]