Marcus Andrey Study
Ler em português Library

Complex products · Labs · 9 min read

Draw the permission matrix

A guided lab: turn Cabo Alto Energia's ten-line access memo into Gale's permission matrix, eight roles against seventeen permissions. Fill each cell from the memo, keep the gaps visible as questions, find the separation-of-duties rules, add scope, write what people see when they can't, and test it with five scenarios. About 90 minutes, on paper or in a spreadsheet.

Every customer has access rules. Almost none have them written as a grid. They come as a memo, an email thread, a habit ("Tiago always does the shipping"). Until someone draws the grid, nobody can see the holes: the action nobody may do, the one everybody may do, the admin who can give himself any role. In this lab you'll draw Gale's permission matrix from Cabo Alto Energia's memo, and leave every gap visible.

What you'll do:

  • Lay out permissions against roles, grouped by object
  • Fill each cell from the memo, and mark where the memo is silent
  • Find the rules that need two different people
  • Add scope as a separate table, not more columns
  • Write what a person sees when the answer is no
  • Test the matrix with five scenarios

You'll need: the memo and the permission list below, a large sheet of paper or a spreadsheet, about 90 minutes.


1. Read the material

Gale is the fictional wind-farm maintenance software of this course, and Cabo Alto Energia its fictional customer. Three words from Permissions people understand:

  • A permission is one action on one kind of object: verify a work order.
  • A role is a named set of permissions: supervisor.
  • A scope is where the permissions apply: which sites or countries. A site is one wind farm.

A work order is the record of one maintenance job; a permit-to-work is the safety document that must be released before anyone climbs.

Gale's permissions, named with the domain's verbs:

Object Permissions
Work order View · Create · Edit details · Schedule · Assign crew · Verify · Cancel
Step Close · Record readings
Permit-to-work View · Request · Release · Close
Part View stock · Reserve · Ship
Admin Manage users and roles

That's 17 permissions. The eight roles: planner, supervisor, field technician, warehouse clerk, safety officer, control-room operator, Cabo Alto's IT admin, head of O&M (operations and maintenance).

Cabo Alto Energia's access memo, as their IT team sent it (fictional):

M1. Everyone can view work orders in their scope. Field technicians see only their crew's work orders. M2. Planners create, edit and schedule work orders. Control-room operators may create a draft work order from an alarm. M3. Supervisors assign crews and verify finished work. Only supervisors verify. At small sites a supervisor sometimes leads the crew; nobody verifies a work order they worked on. M4. Planners may cancel draft and planned work orders. Once a work order is scheduled, only a supervisor may cancel it. M5. Field technicians close steps and record readings on their crew's work orders. M6. Planners and supervisors request permits. Only safety officers release and close them. Technicians view the permit for their own work orders. M7. Warehouse clerks reserve and ship parts. Planners can also reserve. Planners and supervisors view stock. M8. The IT admin manages users, roles and sites, and does not work on work orders. M9. The head of O&M can view everything and changes nothing. M10. Planners, supervisors, warehouse clerks and safety officers work on their assigned sites. Control-room operators cover their country. The IT admin and the head of O&M cover the whole company.


2. Set up the grid

Draw a grid with the permissions as rows, grouped by object, and the roles as columns. Add one narrow column after the permission name, called "Memo", for the memo line each row comes from.

Use only four kinds of answer in the cells, and write them as words:

  • Yes
  • No
  • Yes, with a condition, written out: "draft only", "own crew", "not their own work"
  • ? when the memo doesn't say

Four is enough. If you're tempted to invent a fifth, it's usually a condition that belongs in words.


3. Fill it from the memo

Go line by line through the memo, not cell by cell through the grid. For each line, fill every cell it decides and write the line number in the Memo column. M3 fills two rows; M6 fills four.

PermissionMemoPlannerSupervisorField technicianWarehouse clerkSafety officerControl-room operatorCabo Alto's IT adminHead of O&M
Work order: CreateM2YesNoNoNoNoDraft only, from an alarmNoNo
Work order: ScheduleM2YesNoNoNoNoNoNoNo
Work order: VerifyM3NoYes, not their own workNoNoNoNoNoNo
Work order: CancelM4Draft or planned onlyYesNoNoNoNoNoNo
Permit-to-work: ReleaseM6NoNoNoNoYesNoNoNo
Part: ReserveM7Yes?NoYesNoNoNoNo
Six of the matrix's rows, filled from the memo. Read the highlighted row: one role says yes, and the yes carries a condition, which is separation of duties written into the cell. The question mark is a gap in the memo, kept visible instead of guessed.Diagram: Marcus Andrey, CC BY 4.0. Gale and Cabo Alto Energia's rules are fictional.

Then look at the empty cells. Some are clearly "No" from the memo's wording ("Only safety officers release"); write those. The rest are ?. Don't fill them with what seems sensible. A "?" is a question for the customer, and the answer may surprise you: maybe supervisors do reserve parts on Saturday when the warehouse is closed.

Write each "?" as a question on a separate list, with the role and the permission: "May a supervisor reserve parts?" Expect five to ten.


4. Check the "only" rules

The memo uses "only" twice: only supervisors verify (M3), only safety officers release and close permits (M6). For those rows, exactly one column may say yes. Check each one.

Then check the other direction: is there a row with no yes at all? A permission nobody holds is a dead end, the kind of thing that turns into a phone call to the vendor's support at night. And is there a row where everyone says yes? Then it probably isn't a permission worth managing.

Last, read each column down. Every yes should match a task that role really does (your task map from Map Gale's roles and tasks helps here). A yes with no task behind it breaks least privilege, the rule of giving each role only the access "to the minimum necessary" for its work (NIST CSRC Glossary, least privilege).


5. Find the two-person rules

Separation of duties means "no user should be given enough privileges to misuse the system on their own" (NIST CSRC Glossary, separation of duty). NIST's entry gives two kinds: static, where the system never lets one person hold two conflicting roles, and dynamic, where it checks at the moment of the action, so a second step must be done by a different person.

Find them in the memo and write each as a sentence, "The same person may not … and … on the same work order":

  1. M3: work on a work order as a technician and verify it. Dynamic: Duarte is a supervisor, but not for the work orders he led.
  2. M6: request a permit and release it? The memo doesn't say. Add it to your questions.
  3. M8: Cabo Alto's IT admin manages roles. Nothing stops him giving himself the supervisor role. Write this one down too: it's the hole most matrices have, and it needs an answer from the customer (a second admin who approves role changes, or a history that someone reads; see Audit trails and history).

In the matrix, a dynamic rule shows up as a condition in the cell: "Yes, not their own work".


6. Add scope as its own table

You could multiply the columns: planner for CA-07, planner for CA-09, planner for Spain… With 38 sites it becomes unreadable. Keep scope apart, in a small table of its own, filled from M10:

Role Scope
Planner, supervisor, warehouse clerk, safety officer Assigned sites
Field technician Their crew's work orders, at their crew's sites
Control-room operator Their country
Cabo Alto's IT admin, head of O&M The whole company

A person's access is then a sentence: role × scope. "Rita is a planner for CA-07 and CA-09." Many companies, many sites goes deeper into scope.


7. Write what people see when it's no

Permissions people understand gives three options when someone can't do something: hide the action, explain it, or disable it only with a reason next to it. Pick three cells from your matrix and write the screen for each:

  • One you'd hide (a field technician never sees the admin area).
  • One you'd explain, because the person needs to know who can (a planner trying to release a permit).
  • The condition cell: Duarte opening a work order he led.

For each, write the exact sentence, and name who can do it instead.

Gale Console › Work orders › WO-2026-018734

Gearbox oil leak · CA-07-T14

Done  Waiting for: a supervisor to verify

You can't verify this work order

You were the lead technician on it, and nobody verifies their own work. Another supervisor for CA-07 can verify it.

Ask Joana Pinto to verify  Who can verify CA-07

The message for one cell of the matrix, the yes with a condition. It says why in the person's own terms, who can do it instead and offers the next step as a button, before Duarte has spent any time reading readings he can't sign off.Diagram: Marcus Andrey, CC BY 4.0. Gale and the people named are fictional.

A good message is specific to the cell. "You don't have permission" could be on any of the 136 cells; "You were the lead technician on it" can only be on one.


8. Test it with five scenarios

For each scenario, find the answer in your matrix and scope table, without looking at the memo:

  1. Rita, planner for CA-07 and CA-09, wants to cancel a scheduled work order at CA-07.
  2. Marta, control-room operator in Portugal, sees an alarm at a site in Spain and wants to create a draft work order.
  3. Duarte, supervisor at CA-07, led the crew on WO-2026-018734 and opens it to verify.
  4. Inês, field technician, wants to record readings on another crew's work order at the same turbine.
  5. Paulo, Cabo Alto's IT admin, spots a typo in a work order's description and wants to fix it.

If your matrix can't answer one of them, the gap is in the matrix, not in the scenario. Fix it or add a question.


What good looks like

  • 17 rows, 8 columns, and every cell filled: yes, no, a written condition, or "?".
  • Every row has a memo line next to it, or is on the question list.
  • The two "only" rows have exactly one yes each.
  • The two-person rules are written as sentences, including the admin hole.
  • Scope sits in its own table, and a person's access can be said as role × scope.
  • Three cells have a written message, each naming who can do it instead.
  • The five scenarios give: 1 no (only a supervisor, M4), 2 no (Spain is outside her country, M10), 3 no (another supervisor must verify, M3), 4 no (not her crew, M5), 5 no (the admin doesn't work on work orders, M8). Five noes, and each one has a different reason, so each one needs a different message.

Check your work

Reflection questions: Which "?" would you ask about first, and why that one? If Cabo Alto Energia's Irish team works differently from the Portuguese one, does that change the roles or only the scope?


Vocabulary

Term Meaning
Permission One action on one kind of object, such as verify a work order
Role A named set of permissions that matches a job, such as supervisor
Scope Where a role's permissions apply: which sites or countries
Permission matrix A grid of permissions against roles, showing who may do what
Condition A yes that only holds in some cases, written in the cell: "draft only"
Separation of duties Splitting a risky job so no single person can do all of it
Static / dynamic rule Static: one person can never hold both roles. Dynamic: the system checks at the moment of the action
Least privilege Giving each role only the access its work needs

Learn more

Books, courses and videos to go deeper

Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.

Permissions people understand · Design for many roles · Many companies, many sites · Settings and admin screens · Audit trails and history · Test a repeated task with experts

Saved only on this device.

↑ ↓ to move · Enter to open · Esc to close