Checks · DB-002
DB-002 · RLS disabled on table
P0 CriticalWhy it matters
A table without row-level security uses the default grants. On Supabase that often means the public key can read it.
How we detect it
SQL migrations are parsed for tables that never enable row-level security.
How we fix it
Add a new migration that enables row-level security and creates owner policies.
Can it be fixed automatically? Yes, with a template change