agnes-the-ai-analyst/app/auth
ZdenekSrotyr caa60a507d feat: add centralized RBAC module — replace Linux group auth
New src/rbac.py: Role enum, hierarchy, get_user_role(), has_role(),
is_admin(), is_km_admin(), has_dataset_access(), set_user_role().

webapp/auth.py: admin_required + km_admin_required now use DuckDB
roles instead of Linux groups (pwd.getpwnam + sudo/data-ops check).

app/auth/dependencies.py: imports Role from src/rbac.py (single source).

11 RBAC tests passing.
2026-03-31 08:04:35 +02:00
..
providers feat: add auth providers (Google OAuth, Password, Email magic link) + web UI fixes 2026-03-27 17:07:59 +01:00
__init__.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00
dependencies.py feat: add centralized RBAC module — replace Linux group auth 2026-03-31 08:04:35 +02:00
jwt.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00
router.py feat: add bootstrap endpoint + deploy skill for AI agents 2026-03-30 14:01:01 +02:00