Role-Based Permissions Without the Headache
How the new permission matrix works, and why we dropped per-user overrides entirely.
Every screen starts from a question an admin actually asks: who signed up today, which payments failed, which user needs help right now.
How it works
Destructive actions are soft by default and can be undone for thirty days from the trash screen.
Every admin action writes an entry to the audit log with the user, the time and a before-and-after diff.
- Search users by name, email or order number
- Impersonate a user to reproduce a bug safely
- Export any table to CSV
- See every change in the audit log
“Design is not just what it looks like and feels like. Design is how it works.”
— Steve Jobs, in The New York Times Magazine, 2003
Why we built it this way
The admin panel is where our customers spend most of their day, so we treat it like a product in its own right rather than a pile of forms.
| Role | Users | Payments | Settings |
|---|---|---|---|
| Owner | Full | Full | Full |
| Support | Edit | Refund | None |
| Finance | View | Full | None |
Small details worth knowing
Permissions are role-based. A role is a named set of abilities, and every user has exactly one role, which keeps audits simple.
Bulk actions always show a preview of what will change and ask for confirmation, because the most expensive admin mistakes are the fast ones.
We test the admin with keyboard only, at 200 percent zoom and on a phone, because that is how many of our customers really use it.
Tables remember their filters per user, so support staff and finance staff can each keep the view that suits their job.
How we work on posts like this
Mistakes stay visible. If a post turns out to be wrong, we correct it in place, mark the correction and explain what we got wrong, rather than quietly swapping the text. Readers trust a build log more when they can see it being honest about its errors.
Our editing rule of thumb is to cut anything that would not change what the reader does next. Background and history are welcome when they explain a decision, but a post that only tells a story without leaving the reader able to do something is usually a draft that is not finished yet.
Finally, every post gets a real person as its author. The name on the card is the person who did the work and who will answer the comments, which keeps the writing specific and gives readers someone to hold to account when something does not work as described.
Every post on this blog starts as a note in the issue that shipped the change. When the work is done, whoever built it writes a first draft while the details are still fresh, and someone who did not work on it edits the draft for clarity. That second reader catches the jargon and the missing steps that the author can no longer see.
We try to show our working. Screenshots are taken on a real install with real data rather than a staged demo, config snippets are copied from the servers we run, and numbers come straight from our analytics exports. If a number looks too good, we say where it came from and how we measured it.
Before publishing, we test every instruction on a clean install of the current release. It is slow and occasionally embarrassing, because the steps we remember are not always the steps the software needs, but it means the post still works for someone reading it months later.
Questions or a better approach? Leave a comment below, or reply to the build-log email and we will fold the best ideas into the next release.
I tried this on a small VPS and it worked first time. Thanks for the clear steps.
How long did this take you end to end? Trying to plan our own migration.
Thanks for reading! Yes, that is on the roadmap for the next point release.