Fix "permission denied for table" (42501) after Supabase's Oct 30 change
Based on Supabase's changelog and docs, checked Oct 29, 2026.
From October 30, 2026, new tables in your Supabase project's public schema no longer get API access automatically. Your Lovable or Bolt app then shows permission denied for table (error 42501) on the next new feature, while older features keep working. Type the table name, pick who should use it, and copy the safe SQL or a ready prompt for your builder. It runs in your browser; nothing is sent anywhere.
Why not just grant everything?
Supabase offers a bulk grant on all tables only as a rollback. It undoes the protection and can expose tables that were meant to be private. Grants decide who can reach a table; row level security (RLS) policies decide which rows they see. Supabase says to add both together, and never to turn RLS off or put the service_role key in the browser.
Does my existing app break on Oct 30?
Supabase says tables you already have keep their access. The change hits the next table your builder creates. Projects created after May 30, 2026 most likely have it already. Supabase's Security Advisor in your dashboard also lists affected tables. Full explanation: Supabase "permission denied for table" (42501) guide.
Seeing a different error?
new row violates row-level security policy means the grant is there but a policy is missing; see the RLS error guide. For anything else, paste it into the free error decoder.
Want a person to check it?
Not sure which tables should be public, or the table holds user data or payments? Our App Audit is a $49 written fix list for your Lovable or Bolt app within 3 business days, including which tables are missing grants or exposed. Full refund if it's not a fit.