Write restrictive RLS policies — deny by default
RLS defaults to deny all. Only add the specific policies you need. Never use USING (true) on private tables.
Why This Matters
A permissive USING (true) policy on a table with sensitive data exposes all rows to all users, negating the purpose of RLS.
Tags
nextjssupabaserls
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and 3+ others. Get actionable feedback before code ships.