1
0
Fork 0
fahrPool/docs/superpowers/plans
Jonny 0334fb4f10 docs: fix stornieren RLS gap and fahrtBeenden silent-noop found by security review
Task 2's fahrer UPDATE policy only constrains zugewiesen_an in its
WITH CHECK, not the status value itself, so a fahrer could set their
own assigned order straight to 'storniert' even though the spec
reserves cancellation for Disponent/Admin. Live-verified the gap
(UPDATE 1 as fahrer before the fix). Extends Task 4's trigger with a
role-gated check on the 'storniert' target status plus a regression
test (plan(12) -> plan(13)). Also hardens fahrtBeenden/stornieren in
Task 11 to check affected-row counts (matching uebernehmen's existing
pattern) instead of silently "succeeding" when RLS blocks a write for
an unauthorized caller.
2026-07-05 22:43:10 +02:00
..
2026-07-04-fundament-auth-rollen.md docs: correct plan for auth schema lockdown and missing grants 2026-07-04 12:00:44 +02:00
2026-07-05-auftragsverwaltung.md docs: fix stornieren RLS gap and fahrtBeenden silent-noop found by security review 2026-07-05 22:43:10 +02:00