03. Tenant Isolation
Chapter 3 of 24 · 15 min
EXERCISE
Audit this code for isolation vulnerabilities. Write a test that demonstrates what happens when get_model_config is called with the wrong tenant_id. How would you add integration test coverage for tenant isolation?