Multi-Tenant Isolation
How It Works
-- Example: Decision table RLS policy
CREATE POLICY customer_isolation ON decisions
USING (customer_id = current_setting('app.customer_id')::uuid);Enforcement Levels
Level
Mechanism
Bypass Possible?
Validation
How Requests Are Isolated
Example
Customer A
Customer B
What's Isolated
Data Type
Isolated?
Mechanism
Shared Resources
Resource
Shared?
Reason
Testing Isolation
Security Guarantees
Last updated