A one-way door with a playground in front of it: how we migrate every organization’s access
Our old permission system built nested groups under the hood. It made one for every cloud, project and role. Customers never saw any of those groups. The worst case we found had 52 clouds and 321 projects. That works out to 1,383 groups nobody knew existed.
The new system is built on groups people can see and manage. Moving an organization over raises an awkward question: what do you do with 1,383 invisible groups?
Three ways through
The migration has three paths:
- Keep the current structure. Every hidden group becomes a normal group, minus those with no members. In one organization, that took about 1,000 groups down to 83. Nobody’s access changed.
- Organize with groups. People with the same access get it from one group. In a typical test organization, about 100 groups became about 6. Again, nobody’s access changed.
- Start fresh. Only the admin running the migration keeps access. They build the rest from scratch.

That last option is rarely right, so it comes last.
The undo button we removed
The early version had a switch-back. It let you return to the old system for 30 days after migrating.
Testers liked knowing it was there. They also said it was too easy to click. The closer we looked, the less honest it felt. Anything created after the migration - a new project with its own owner, a new group - wouldn’t survive going back. An undo that quietly drops some of your work isn’t an undo. It’s a second migration nobody has tested.
So we removed it. Migrating is a one-way door. The product says so. If something’s wrong afterward, we fix it forward with the customer.
An undo that quietly drops some of your work isn’t an undo. It’s a second migration nobody has tested.
The playground
Instead of an undo, we put a preview mode in front of the door.
When an admin opens the migration, nothing is real yet. They pick a path to see what the organization would look like: every user, every group and every role. Next to each person, a status shows whether their access changed. They can rename groups, merge them, split one by project or move access around. Every change stays staged without touching the live system. They can reset and start over as often as they like.
Then they apply it once.
A few details mattered more than we expected:
- Show what changes, not just what is. A column saying “changed” or “unchanged” next to each person did more for trust than any diagram.
- Let people take it with them. Admins can download the result to check our work in their own tools.
- Say plainly what stops working. Only the access-management parts of the old CLI and API stop working after migrating. We say exactly that so customers with scripts know to update them first. The field team also contacts those customers before their migration is turned on.
- Roll it out one organization at a time. Each organization gets the migration when we turn it on for them. We start with the ones without directory sync.
What I’d tell anyone designing a migration
- Don’t build an undo you can’t fully trust. A half-working undo is more dangerous than none. People rely on it.
- Make the rehearsal free. Let people change anything in a preview and throw it away. That gives them the confidence an undo button only pretends to.
- Make the safe path the easy one. The options that keep access identical come first. The destructive one comes last. It says what it does.
- Name the one-way door. People handle irreversible steps fine when they know that’s what they’re doing.

It’s the same idea as the preview we built for our scheduler. Don’t take the power away. Show people what it will do before they use it.