SHEET 03blog/tag/multi-tenancy/ REVISED
Writing tagged multi-tenancy
2026
-
How one roles endpoint leaked data across tenants in a Django SaaS
A DRF endpoint returned every tenant's roles to any logged-in user. The root cause, the fix in the query and in the frontend cache, and the tests to write.