Tag: rls
2 articles
· supabase / postgresql
Supabase RLS pitfalls — what we learned in production
7 Supabase RLS pitfalls: NULL auth.uid(), service_role leaks, 171ms policies, infinite recursion, privilege escalation — with the exact SQL fix for each.
· postgresql / multi-tenancy
Multi-tenant Postgres patterns in 2026 — schemas vs RLS vs separate DBs
Your tenancy model locks you in before you have enough tenants to feel the pain. Schema-per-tenant degrades past 500 in plain Postgres. RLS has five known CVEs. Here's the decision map.