Start from people and jobs
Name roles after jobs, not people, and add a role only when permissions genuinely differ.
Make access boundaries testable before development.
Need this done for you?
Tell us about your projectThe short answer
How do I specify roles and permissions before development starts?
Write a matrix of roles, actions and record scope, then add the denial cases a tester must try. Name who can invite, change and revoke access. Agree this before a proposal so access rules are built and tested once.
A fictional training-booking portal where learners, trainers and one administrator share a set of bookings.
Three roles, one record type (the booking) and no company accounts in the first release.
Output: A one-page matrix of three roles and five actions with a scope in every cell, plus three refusal cases a tester can run before launch.
Name roles after jobs, not people, and add a role only when permissions genuinely differ.
Write the record scope—own, team, one client, or all—into every cell of the matrix.
List what must be refused, log role changes, and define what happens when someone leaves.
Want help turning your roles into a matrix?
Tell us about your projectWrite each user type and the work they do. Merge roles that never differ.
For each record type, note view, create, edit, approve and delete.
Own, team, one client or all. Leave no cell as a bare yes.
Pick one forbidden attempt per role and record the expected refusal.
Record who invites, changes and revokes, and what is logged.
| Situation | Decision to record | Why it matters |
|---|---|---|
| Someone holds two roles | Do permissions add together, or does the higher role win? | Overlapping roles are where unexpected access appears. |
| A person changes team | Do they keep access to the old team's records? | Old access stays until someone removes it. |
| A leaver has open approvals | Reassign to a named person or return them to the queue. | Approvals can stall without anyone noticing. |
| Support needs to see a record | Time-limited access with a reason in the log. | Support work needs a way in, and it should be visible. |
| A client asks who viewed their data | Can a non-developer read the access log? | Without a readable log the question cannot be answered. |
| Role | View | Edit | Approve | Must be refused |
|---|---|---|---|---|
| Requester | Own requests | Own requests while open | No | Opening another requester's request |
| Team lead | Requests from their team | Team requests before approval | Team requests under their limit | Approving their own request |
| Finance reviewer | All requests | Status and a reason only | All requests | Changing the amount after approval |
| Administrator | All requests and users | Users and roles | No | Deleting a request's history |
One line per forbidden attempt. A tester runs each one.
Role: Requester
Attempt: open another requester's request by changing the link
Expected: refused, nothing about the record is shown
Role: Team lead
Attempt: approve a request they submitted themselves
Expected: refused, reason shown
Role: Any
Attempt: send the request directly to the server, skipping the screen
Expected: same refusal as through the screenFacts reviewed as of
You don’t need a finished brief. Tell us what you want to change or build, and we’ll reply by email with a sensible first step.