1
0
Fork 0
Commit Graph

3 Commits

Author SHA1 Message Date
Jonny 2f2f354402 docs: fix plan to prevent role privilege escalation via user metadata
Automated security review flagged that reading `role` from
raw_user_meta_data in the profiles trigger lets a user set their own
role at account-creation time in some GoTrue flows (OAuth, invites).
New users now always start as readonly; admins promote them
explicitly afterwards via SQL/table editor.
2026-07-04 11:42:16 +02:00
Jonny a1e08fb1d0 docs: add implementation plan for foundation (auth & roles)
Nine-task plan covering Next.js scaffold, Supabase schema/RLS/pgTAP,
the self-hosted Docker Compose stack, and the login/middleware/
dashboard flow that later subprojects build on.
2026-07-04 10:38:25 +02:00
Jonny 0643bef299 chore: initial commit - requirements and foundation design spec
Sets up Aushilfsfahrer as its own repository with the project
requirements (CLAUDE.md) and the design spec for the foundation
subproject (auth, roles, infra).
2026-07-04 10:27:07 +02:00