Where the tenant boundary actually is, and what enforces it
A single guard installed on the root router ahead of route matching: any path carrying a tenant marker requires a valid credential and requires that credential's organisation to match the path. Because it runs before routing it also covers routes that do not exist yet, which is the property that makes it trustworthy rather than merely present.
After this lesson you can
- Explain the enforcement model to a customer's technical stakeholder in under three minutes.
- State why the guard running before route matching is stronger than a per-route check, and name the failure it prevents.
- State what is not in place at the database layer, and what that means for the guard's importance.
- Answer the customer question 'can another tenant see our data?' accurately, including the mechanism rather than a reassurance.