SHEET 03blog/tag/django/ REVISED
Writing tagged django
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.