Key decisions

  1. Separate viewing from editing. The old matrix was the only way to check someone's access. Admins open a profile mostly to check, so the view became the default.
  2. Show only what they can access. The read-only view lists granted access first and puts No access last, in grey, which answers "what can this person do?" at a glance.
  3. Follow the side nav. Sections and order mirror My club and Settings, so people find permissions where they find the pages.
  4. Categories are a data scope, pages are features. Categories use a grid of icon toggles; sub-pages use a list with labelled toggles. Different meanings, different shapes.
  5. Safe by default. Switching to Per category starts every category at Restricted, so no access is granted by mistake.
  6. Accessible colours, measured. View-only yellow was chosen by simulating colour blindness against the Edit blue. Contrast was fixed on secondary text and selected states.
  7. A new control built from the design system tokens. A segmented control in the tag colours, with a sliding indicator, since the library didn't have one.
  8. Edit with a safety net, not with warnings. A change count and a gradient mark on every changed row let admins review before saving. Cancel discards straight away, with an Undo toast; a confirmation only appears when changes could be lost by accident (closing the modal).
  9. Selected means filled. One icon family: thin line icons for the interface, the filled twin for the chosen option, so each row shows one solid shape among light ones.
  10. Add admin mirrors the profile. Each step is one profile section with the same name and layout: Personal Information, then Permissions. The access type has no default, so the person adding an admin makes a deliberate choice; the matrix appears under Custom access, starting Restricted everywhere. The header previews the new profile as it's typed.
  11. Close the loop after saving. A short saving state, a toast, the changed lines glowing for a moment, and the view returning to the top of the edited card, so admins see what Save did.