feat: add rbac policy matrix
This commit is contained in:
@@ -82,6 +82,11 @@ Arbeitsliste auf Basis von `proxmox-console-entwicklungsplan.md`. Die Entwurfsda
|
||||
- [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
|
||||
- [x] E4-T02: Policy-/Permission-Funktion
|
||||
- [x] Rollen und Aktionen zentral definiert
|
||||
- [x] `Can(role, action)` angelegt
|
||||
- [x] Tabellengetriebene Unit-Tests fuer Rollen/Aktionen angelegt
|
||||
- [x] `cluster.manage` fuer Tenant-Rollen bewusst verweigert
|
||||
|
||||
## MVP-Backlog
|
||||
|
||||
@@ -131,3 +136,4 @@ Arbeitsliste auf Basis von `proxmox-console-entwicklungsplan.md`. Die Entwurfsda
|
||||
- 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.
|
||||
- 2026-06-10: RBAC-Policy-Funktion mit tabellengetriebenen Rollen/Aktions-Tests erfolgreich.
|
||||
|
||||
Reference in New Issue
Block a user