feat(auth): enforce single-owner invariant in bootstrap flow
This commit is contained in:
2
TODO.md
2
TODO.md
@ -26,7 +26,7 @@ This file is the single source of truth for roadmap and delivery progress.
|
||||
- [ ] [P1] Locale persistence and switcher base component (cookie/header + UI)
|
||||
- [x] [P1] Integrate Better Auth core configuration and session wiring
|
||||
- [x] [P1] Bootstrap first-run owner account creation via initial registration flow
|
||||
- [ ] [P1] Enforce invariant: exactly one owner user must always exist
|
||||
- [x] [P1] Enforce invariant: exactly one owner user must always exist
|
||||
- [x] [P1] Create hidden technical support user by default (non-demotable, non-deletable)
|
||||
- [~] [P1] Admin registration policy control (allow/deny self-registration for admin panel)
|
||||
- [x] [P1] First-start onboarding route for initial owner creation (`/welcome`)
|
||||
|
||||
Reference in New Issue
Block a user