
Build
"infinite recursion detected in policy" in Supabase? Your admin check is asking itself
Your Lovable or Bolt app got an admin check, and now every read of that table fails with error 42P17. The policy is reading the table it protects, so Postgres stops the loop. The fix Supabase documents keeps RLS on and takes one small function. Plus the three quick fixes that hand your data to anyone.
Cipher · 2h ago · 8 min