Posts tagged “row-level-security”
-
How do you keep tenants apart when they share one database?
How I let Postgres, not application code, keep tenants apart, so a forgotten tenant filter returns nothing instead of another customer's data: FORCE, non-owner roles, transaction-local settings, fail-closed policies, and tests that prove it.