Supabase "permission denied for table"? New tables need a GRANT now

Ship ItChecked against the official source

The short answer

Supabase made a breaking change: new tables in the public schema are no longer exposed to the Data API automatically. That's the API your app's Supabase client talks to, so a new table can give "permission denied for table". New projects have had this default since May 30, 2026, and on October 30, 2026 it is applied to all existing projects. Existing tables keep their current grants and stay reachable, and RLS behavior is unchanged.

What to do

  1. Open the SQL Editor in Supabase and grant access to each new table (GRANT).
  2. Enable RLS on that table and add policies. Do all three: grant, RLS, policies.
  3. If an AI tool creates your tables, Supabase says to update its system prompt.
  4. Ask your AI tool: "Whenever you create a Supabase table, also add the GRANT statements, enable RLS and add policies."

Good to know

  • We checked this for Supabase projects. We haven't checked how Lovable Cloud handles it.

Source

Checked on 4 Oct 2026. Prices, limits and settings change, so check the source before you rely on them.

Related