60-second Supabase check, SQL Editor:
select tablename, policyname, cmd, qual from pg_policies where qual ilike '%auth.role()%' or qual ilike '%auth.uid() is not null%' or qual = 'true';
Each row is a policy that only checks "is someone signed in" (or nothing at all). On profiles, orders, messages or uploads, swap it for (select auth.uid()) = user_id.
#Supabase #Postgres #PostgreSQL #SQL #RLS #AppSec #vibecoding #webdev #infosec #security #buildinpublic #indiehackers #Lovable #Bolt #Cursor