Problem
The Supabase tables have no Row Level Security
policies. Any service role query can read and
modify any row.
What To Build
Write RLS policies for all tables:
- learner_profiles
- loans
- repayment_installments
- vouches
- vendors
- pool_positions
Files To Touch
- supabase/migrations/[ts]_rls_policies.sql (new)
Acceptance Criteria
Mandatory Checks Before PR
Problem
The Supabase tables have no Row Level Security
policies. Any service role query can read and
modify any row.
What To Build
Write RLS policies for all tables:
Files To Touch
Acceptance Criteria
Mandatory Checks Before PR