RLS check: the read-only query
rls_check_queryGet a read-only SQL query that inspects RLS state, grants, columns and policies across all public schema tables and views in a Supabase project without reading any row data.
Instructions
Returns a read-only SQL query that lists every table and view in the public schema of a Supabase (Postgres) project with its RLS state, grants to anon/authenticated, column names and policies. It reads no row of data. Run it in the project (SQL Editor, or a Supabase MCP execute_sql tool), then pass the single JSON result cell to rls_check_explain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||