TLDR Data · QUICK LINKS

LET POSTGRES ENFORCE TENANT ISOLATION

milanjovanovic.tech4 min read

Summary from the TLDR Data newsletter

PostgreSQL row-level security can fail closed beneath EF Core query filters, blocking cross-tenant reads and writes even through raw SQL or attached entities when the application uses non-owner roles and reset tenant context on every pooled connection.