Restaurant data separation
- Every restaurant is its own security tenant. The server checks the restaurant, location and role on every request; IDs sent by a browser are never trusted.
- Multi-location access must be granted explicitly per user. Requests for another restaurant's records fail without revealing whether they exist.
- Automated tests try to reach one restaurant's data from another and must fail.