Files
kiskaadee 7987fdfa5d feat(auth): decouple auth adapters with proxy-headers forward-auth and JIT mirror
- Introduce AuthProvider strategy (proxy_headers, google_oauth, dev_key) in Settings
- Implement ProxyHeaderAdapter parsing Remote-Email, Remote-Name, and Remote-Groups
- Map LLDAP groups to RoleEnum with highest-privilege precedence
- Mirror proxy-authenticated actors into admin_allowlist on mutating actions to satisfy DB foreign keys (ADR-0006)
- Provide uniform AdminPrincipal injection via require_admin
- Add unit tests for role resolution and integration tests for auth adapter matrix

Refs: #6
2026-10-19 14:12:51 -05:00

2 lines
72 B
Python

"""Persistence boundary for repositories built on SQLModel sessions."""