feat: add profile sync
This commit is contained in:
@@ -77,6 +77,11 @@ Arbeitsliste auf Basis von `proxmox-console-entwicklungsplan.md`. Die Entwurfsda
|
||||
- [x] Issuer, Expiry, Not-Before und Signatur werden validiert
|
||||
- [x] `sub`, `email`, `role` werden als Principal in den Request-Context gelegt
|
||||
- [x] Geschuetzten `/me` Endpunkt angelegt
|
||||
- [x] E1-T03: Profil-Sync
|
||||
- [x] Lazy Provisioning nach erfolgreicher JWT-Validierung angelegt
|
||||
- [x] `profiles` wird idempotent per `insert ... on conflict` erstellt/aktualisiert
|
||||
- [x] Profil-Sync-Middleware mit Unit-Tests angelegt
|
||||
- [x] `/me` fuehrt Profil-Sync vor Handler-Ausfuehrung aus
|
||||
|
||||
## MVP-Backlog
|
||||
|
||||
@@ -125,3 +130,4 @@ Arbeitsliste auf Basis von `proxmox-console-entwicklungsplan.md`. Die Entwurfsda
|
||||
- 2026-06-10: RLS-Migration `0008_rls_policies` angelegt und Mitglied/Nicht-Mitglied-Isolation lokal gegen Supabase verifiziert.
|
||||
- 2026-06-10: RLS-Advisor-Cleanup `0009_rls_advisor_cleanup` angelegt; alle Public-Tabellen haben RLS aktiv.
|
||||
- 2026-06-10: JWT-Middleware-Tests fuer gueltige, abgelaufene, manipulierte und fehlende Tokens erfolgreich.
|
||||
- 2026-06-10: Profil-Sync-Tests erfolgreich; lokaler `/me` Request legt genau ein `profiles`-Profil an.
|
||||
|
||||
Reference in New Issue
Block a user