Tenant isolation
Your data is separated from every other customer's at the database level, not just in application code.
- Every record carries an organization id, and PostgreSQL row-level security filters every query against the signed-in user's organization.
- Isolation is enforced by the database itself, so it holds even if an application-layer check is missed.
- Policies are verified against the live database, not only in tests.