- Customer table is open
- V.I.B.E reads your database rules
- Table rule is fixed
Checks
- Tables with row security switched off
- Rules that say yes to everyone
- Rules that only check someone is signed in
- Rules that trust details users can edit
- Saved actions that skip your rules
- Saved views that skip your rules
- File storage rules that let strangers in
- Saved actions with a loose search path
- Other schemas your website can use, beside public
A customer list anyone can read
A made-up customers table has its lock switched on. It also carries a rule called “Enable read access for all users” that always answers yes. The result says anyone can read the customer rows. In the corrected version, the rule compares the owner of each row with the signed-in person, and the finding is gone. A lock tells you little until you read the rules behind it.
- Anyone can read every row in “customers”Policy "Enable read access for all users" (SELECT, public): using true, check none
Replace it with a rule that checks who owns each row.
Checked again after the fix: none of these results come back.
A small app with several gaps
A second made-up project has four tables and one saved action. The orders table has its lock off, any signed-in account may read messages, a visitor can run an action that deletes users, and one table is locked with no rules at all. That last result is a note rather than a fault: the table is closed, so a screen that reads it would simply look empty.
- Anyone can read, add, change and delete every row in “orders”RLS disabled; anon may read, add, change, delete
In one run, turn the lock on and add a rule for each thing your app does: read, add, change or delete. Anything without a rule stops working, saving included.
- Anyone can run “delete_user”, skipping your rulessecurity definer; execute: anon
Block web access, unless it checks who is asking.
- Any signed-in user can read every row in “messages”Policy "Signed in users can read" (SELECT, authenticated): using (auth.role() = 'authenticated'::text), check none
Replace it with a rule that checks who owns each row.
- Your website cannot read “audit_log” yetRLS enabled; zero policies
Leave it if only your server uses this table. Otherwise add a rule for the right people.
Checked again after the fix: nothing left to fix, and 1 note to read.
Is your Supabase table public?
Row level security, shortened to RLS, is the rule system that decides which rows a visitor may touch. Supabase says a table in an exposed schema without it can be read and written by any role that has been granted access to the table. An exposed schema is a group of tables your website’s key can ask for, usually the one named public. This is why the query reads both the lock and the grants, and ranks a table by what can be done to it.
Why do you see “permission denied for table”?
Supabase announced a new default in 2026: new tables in the public schema are not opened to its Data API until you grant access. New projects received it on 30 May, and existing projects were scheduled for 30 October. Tables that already existed keep the access they had. The missing grant shows as error 42501. Grant only the action that table needs to the role that needs it, and keep row level security on. Do not grant everything to anon, the role for signed-out visitors, to make an error go away. The result also notes a rule written for people who hold no permission on that table at all. It does not find a single missing action when others are granted.
Which Supabase key is safe to show?
A publishable key, and the older anon key, are made for public code, and your row rules limit what they reach. A secret key or service_role key skips those rules and belongs only on your server. Supabase says it is retiring anon and service_role keys in early 2027. If a secret key has been public, replace it first and tidy the code second.
Should you also run the Security Advisor?
Yes. The advisor in your Supabase dashboard flags tables with row security off, rules that are always true and several problems with saved functions. V.I.B.E gives a second reading in plain words, with suggested SQL and an AI prompt. With copy and paste, you give us no key and no project address.
What does one query miss?
It reads rules and permissions, never your rows, and does not try your database from outside. It does not report whether a file bucket is marked Public. A public bucket serves a file to anyone who has its address, so open Storage and look at each one. Live channels, backups and whether your app still works are also outside it.
Fix it without breaking saving
Export your data first. Read any SQL before you run it. Turning row security on with no rules stops your app reading and writing, and a rule for reading does not let anyone save. Add a rule for each action your app needs, run the query again, then try the app signed out and as two different people.
Sources, read 30 November 2026
- Supabase: row level securityno date shown
- Supabase changelog: tables not exposed automaticallyposted 28 April 2026
- Supabase: API keysno date shown
- Supabase: database advisorsno date shown
- Supabase: storage bucketsno date shown
V.I.B.E is made by TNAADO. It is not part of, or endorsed by, Supabase.
Advanced app builds
TNAADO builds multiplatform products that take payments and protect sensitive data.
Start a project