Use the prompt
Explain how tenant identity reaches the application and which data is shared. Review cross-tenant access attempts as carefully as the normal paths for an authorized tenant.
Implement tenant boundaries for SaaS applications. Ensure complete data separation.
For GitLab Duo
Implement multi-tenant data isolation for [FEATURE]:
Requirements:
- [NUMBER] tenants
- Strict data separation
- Performance requirements: [SPECIFY]
Implement:
1. Tenant identification
2. Data partitioning
3. Query filtering
4. Access controls
5. Testing strategyExplain how tenant identity reaches the application and which data is shared. Review cross-tenant access attempts as carefully as the normal paths for an authorized tenant.