- Input
- A fictional equipment rental app has staff, managers and customers.
- Assumption
- Three roles are agreed before building.
What happens
- Customers can see only their own rentals.
- Staff can create and edit rentals for any customer.
- Managers can also change prices and export reports.
- A new staff member is given the staff role and nothing else.
- Result
- Access is predictable and easy to review.
- Where it stops
- Roles are a starting point. Rules like only the owner of this record need extra checks.