Marcus Andrey Study
Ler em português Library

Complex products · Step 5 · 7 min read

Permissions people understand

Permissions decide what each person may do, and most products explain them badly: codes in the admin screen, greyed-out buttons with no reason, errors after the work is done. The three words you need (permission, role, scope), naming permissions with the domain's verbs, when to hide, disable or explain, and rules that keep two keys on one door.

A permission nobody understands is either a locked door with no sign, or a door that should have been locked. The technician who can't release a permit needs to know why, and who can. The customer's IT admin who gives out permissions needs to know what each one lets people do. Most permission design fails on words before it fails on screens, so this lesson starts with three words.

What you'll be able to do after reading:

  • Explain permission, role and scope, and how they combine
  • Name permissions with the domain's verbs, grouped by object
  • Choose between hiding, disabling and explaining an action someone can't do
  • Design rules where two different people must act, and stop errors before the work, not after

1. Three words: permission, role, scope

  • A permission is one action on one kind of object: release a permit, verify a work order, reserve a part.
  • A role is a named set of permissions: the safety officer role includes release a permit. The previous lesson (Design for many roles) looked at roles as jobs; here they are the bundles of permissions those jobs need.
  • A scope is where the permissions apply: which sites, which countries. A planner for sites CA-07 and CA-09 can plan there and only there. The next-but-one lesson (Many companies, many sites) goes deeper.

This model is called role-based access control (RBAC): "each user is assigned one or more roles, and each role is assigned one or more privileges". NIST notes that with RBAC "security is managed at a level that corresponds closely to the organization's structure" (NIST, Role Based Access Control). That closeness is the point for designers: if the roles match how the customer already thinks about jobs, admins can give them out without a manual.

Give each role only what its job needs. Security people call this least privilege: access limited "to the minimum necessary" for the work (NIST CSRC Glossary, least privilege).


2. Name permissions with the domain's verbs

TurbineDesk's admin screen listed permissions like WO_UPD_ST_L3. Nobody, including the admins, knew what that let people do. Name each permission as a sentence a planner would say, and group them by object:

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

The verbs come from the domain's glossary (The domain's words and a glossary), the same words the work-order states use. "Verify" in the permission list and "Verified" in the state are one idea, so people can connect them.

PermissionPlannerSupervisorWarehouse clerkSafety officerField technician
Create work orderYesYes–––
Schedule work orderYesYes–––
Assign crew–Yes–––
Reserve part––Yes––
Release permit–––Yes–
Close step––––Yes
Verify work order–Yes–––
A slice of Gale's permission matrix: roles against permissions, in the domain's verbs. The two highlighted rows belong to one role each, by Gale's rules: only a safety officer releases a permit, only a supervisor verifies.Gale is fictional. Table: Marcus Andrey, CC BY 4.0.

Laid out as a grid, roles against permissions, this becomes a permission matrix: the one screen where an admin can see who may do what. The lab Draw the permission matrix builds Gale's whole matrix.


3. When someone can't: hide, disable or explain

Every action a person can't do needs a decision. There are three options, and they suit different cases:

  • Hide it when the role never does it. A field technician never sees the admin area. Showing it would only be noise.
  • Explain it when the person might need it, or needs to know who does. Show the action, and say why it isn't available and what to do: "Only a safety officer can release this permit. Ask Rui Costa (safety officer, site CA-07)."
  • Disable it only with a reason next to it. The GOV.UK Design System is blunt: "Disabled buttons have poor contrast and can confuse some users, so avoid them if possible" (GOV.UK, Button). A grey button with no reason is the locked door with no sign.
Disabled, no reason
Permit-to-work · CA-07-T14Not releasedRelease permit

A locked door with no sign. Why grey? Who can?

Hidden
Permit-to-work · CA-07-T14Not released

Fine for things the role never needs. Here the technician needs to know who acts.

Explained
Permit-to-work · CA-07-T14Not releasedOnly a safety officer can release this permit. Ask Rui Costa (safety officer, CA-07).Message Rui

Says why, and who to ask, with one action the technician can take.

The same moment for a field technician, three ways. Look at the highlighted one: it keeps the permit visible, explains the rule and points to a person.Gale is fictional. Diagram: Marcus Andrey, CC BY 4.0.

The worst option isn't on the list: showing a form, letting the person fill it, and refusing it at save with "You don't have permission". Check permissions before the work starts. If someone can't save a part, show it as read-only from the start, and say why.


4. Two keys on one door

Some actions are safe only when two different people take part. In Gale, a technician can close a step, but only a supervisor can verify the work order, and only a safety officer can release a permit. That's separation of duties: splitting a risky job so no single person can do all of it.

The design has to make these rules visible, not just enforce them:

  • Say in the record who must act next, and in which role ("waiting for: supervisor to verify"), as in Design for many roles.
  • When one person holds both roles, say what the rule allows. At small sites a supervisor sometimes also leads a crew, and in Gale nobody verifies their own work order. On a job they led, the Verify button explains that and names another supervisor.
  • Record who did each half, in which role, in the history (Audit trails and history).

5. Let admins see what a role sees

Admins give out roles, so they need to know what each one will feel like. Two tools help most:

  • View as: open any screen as a chosen role, read-only, to check what's visible.
  • Explain access: pick a person and an action, and get the answer in a sentence: "Joana can verify work orders at CA-07 because she has the Supervisor role for Portugal."

Both turn permission bugs into things the customer's own IT admin can fix, without a support ticket.


6. Common mistakes

  • Permission names in codes, or in the database's words.
  • Roles named after people ("Joana's access") or one-off exceptions.
  • Grey, disabled buttons with no reason and no one to ask.
  • Refusing at save, after the person has done the work.
  • Hiding things people need to know exist ("Is there even a permit?").
  • Giving broad roles because the narrow ones were hard to set up.

7. Vocabulary

Term Meaning
Permission One action on one kind of object, such as "release a permit"
Role A named set of permissions given to people who do the same job
Scope Where a role's permissions apply: which sites or countries
RBAC Role-based access control: people get roles, roles carry permissions
Least privilege Giving each person only the access their work needs
Permission matrix A grid of roles against permissions, showing who may do what
Separation of duties Splitting a risky job so that two different people must take part

8. Try it (no tools needed)

Take a shared place you know: a family's streaming account, a shared bank account, a club's group chat.

  1. Write five actions people can take in it, as verbs ("add a member", "change the password").
  2. Write three roles that make sense there. Draw a grid on paper, roles across, actions down, and tick who may do what.
  3. For one action a role can't do, write what that person should see: hidden, explained (write the sentence) or disabled (write the reason).
  4. Find one action that should need two people. Write who does each half.

It's good when each action is a verb a member would say, no role holds more ticks than its job needs, and your "explained" sentence names who can do it.

Reflection questions: Which tick did you add "just in case"? Where in a product you use did a grey button leave you guessing?


9. If you already practise

  • Keep the permission list in the glossary, owned with the states, so a new state never ships without its permission.
  • Collect support tickets that say "can't" or "no access". Each one is a missing explanation or a missing permission.
  • Test "explain access" with the customer's IT admin, not your team: they're the ones who'll use it under pressure.

Checklist

Learn more

Books, courses and videos to go deeper

  • Role-Based Access ControlDavid F. Ferraiolo, D. Richard Kuhn and Ramaswamy ChandramouliBook · 2nd edition, Artech House, 2007
  • Designing for the Digital AgeKim GoodwinBook · Wiley, 2009

Design for many roles · Settings and admin screens · Many companies, many sites · Draw the permission matrix · Audit trails and history

Saved only on this device.

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