Supabase / Data API / 2026-10-30

New Supabase tables stop being public by default on October 30.

After 2026-10-30, a table you create in the public schema is not automatically granted to the Data API roles. Your app gets "permission denied" until you add the GRANT. Here is what that looks like and the lines to run.

The short answer

For every new table the client should reach: turn on RLS, write the policy, then GRANT to the roles that need it. A GRANT is access to the table; RLS still decides which rows. Symptom of a missing GRANT: HTTP 401 or 403 with code 42501 "permission denied for table".

The fix

The GRANT lines to add.

-- Run per table, in a migration. Enable RLS first.
alter table public.your_table enable row level security;

grant select on public.your_table to anon;                     -- only if a public read is intended
grant select, insert, update, delete on public.your_table to authenticated;
grant all on public.your_table to service_role;

If you create tables often, including through an AI builder, set default privileges once so a new table does not ship with no grants:

-- Optional: make future tables in this schema pick up the same grants.
alter default privileges in schema public
  grant select, insert, update, delete on tables to authenticated;
alter default privileges in schema public
  grant all on tables to service_role;
-- Add anon only if every new table should be publicly readable (rarely true).

Test it from the outside, the way a visitor would: request the table with your public key and confirm you get rows back where a read is meant to be public, and a permission error where it is not.

Check your live app

Ship Check now flags this.

The Ship Check Complete Scan reads the tables your public site already queries and reports any that answer "permission denied" to the anon role, with the exact GRANT statement. It is read-only: one request per table, no rows downloaded, nothing written.

Run the Complete Scan, $47 →Run a free Ship Check
FAQ

Grant change questions, straight answers.

Tables you create in the public schema after the cutoff are no longer automatically granted to the anon, authenticated and service_role roles. Until you run an explicit GRANT, the Data API (PostgREST) answers requests for that table with "permission denied" (SQLSTATE 42501). Check the Supabase changelog for the exact scope on your project.
The change is about new tables. Tables that already have their grants keep them. The risk is the first migration, AI-generated schema change or restored environment after the date: it creates a table that looks fine in the dashboard and returns permission denied from the client.
No. A GRANT lets a role reach the table at all. Row-level security policies still decide which rows that role can see or change. Keep RLS enabled on every table you expose. A GRANT without RLS is the dangerous combination: grant only what a role needs, and turn RLS on first.
A missing GRANT returns an HTTP 401 or 403 with code 42501 "permission denied for table". A missing RLS policy returns 200 with an empty array for reads. Different symptom, different fix.

Do not find out from
a broken signup form.

Paste your live URL. Read-only.30 minutes, no pitch.

We will tell you if you do not need us.

Matt

Last updated: October 2026

Supabase Data API Grants: What Changes on October 30, 2026 | Continuum