From Dev.to
Fix Supabase "infinite recursion detected in policy"
A list, dashboard, or file upload fails. The browser may show a generic 500 or an empty state. In the API response or Postgres logs you see: ERROR: 42P17: infinite recursion detected in policy for rel...
