Summary
20+ RLS policies are written in the monolithic migration. The work is verification, not new code: un-skip 25 test stubs in tests/e2e/payment/08-security-rls.spec.ts, run them, fix any policies that fail to enforce what they claim.
What's shipped
- 20+ RLS policies in
supabase/migrations/20251006_complete_monolithic_setup.sql
- 2 live E2E tests in
08-security-rls.spec.ts
Gap
- 25 E2E test stubs awaiting un-skip + run
- Rate-limit UI for payment endpoints missing
Plan
- Un-skip tests one at a time
- For each that fails: read the assertion, check the policy, decide whether the test is correct or the policy needs adjustment
- Adjust either the test or the policy until all 25 pass
- Add the rate-limit UI as a separate sub-task
Reference
Summary
20+ RLS policies are written in the monolithic migration. The work is verification, not new code: un-skip 25 test stubs in
tests/e2e/payment/08-security-rls.spec.ts, run them, fix any policies that fail to enforce what they claim.What's shipped
supabase/migrations/20251006_complete_monolithic_setup.sql08-security-rls.spec.tsGap
Plan
Reference
features/payments/042-payment-rls-policies/spec.md