Files
Christopher Fahlin 6aa878a8ab
CI / mix precommit (push) Failing after 22s
CI / Build and push to Harbor (push) Has been skipped
CI / All checks passed (push) Failing after 2s
feat: add app-level auth with RBAC and per-user tenancy
Add password-only phx.gen.auth (argon2) with closed, admin-managed
registration: admins create accounts with a temporary password and users
must change it on first login. Strip email/magic-link flows and remove the
unused Swoosh mailer.

Add two roles (admin/user) enforced via on_mount guards, and per-user data
tenancy: scans, assets, and findings carry a user_id; vulnerabilities stay
global with visibility derived through findings via a correlated EXISTS.
Cross-tenant detail URLs 404; admins see all rows.

Merge the account password page into /settings. Add an admin user-management
dashboard, a seeded bootstrap admin (fixed dev creds via seeds.exs, random
password via the new seed-admin release task), and cross-tenant isolation
tests. Bundle the root layout noindex/theme-color SEO change.
2026-05-30 20:30:46 -07:00
..