Files
pwap/web/supabase/migrations
pezkuwichain 20a5602167 test(p2p): DB-backed proof of financial RLS + escrow REVOKE enforcement
Replicates the Supabase RLS model on a real Postgres engine (pglite) with roles + an
auth.role() JWT-claim stub and proves the harden_financial_rls + escrow-REVOKE
migrations enforce: anon cannot read balances / payment-method PII or execute
release_escrow_internal; the SECURITY DEFINER read path + service_role still work. 6/6.
Together with the freeze-trigger test and the 34 app-auth tests, the fund-custody
security layer is now proven-by-execution (logic); staging deploy is the in-situ step.
2026-07-25 10:20:38 -07:00
..