Before our new access controls shipped, we sat eight colleagues who talk to customers in front of a working prototype, gave them a task and watched. Every one of them rated it four out of five. Every one of them also got stuck somewhere we never would have guessed.
Moving an organization to our new access model can’t be undone. We tried building an undo button and took it out again. What customers get instead is a playground where they can change anything, see the result, and throw it away, before they walk through the door once.
Our new access control was four pieces built by people in two time zones, and none of them had ever run together. So we assumed it was broken and went looking. A few tricks made those sessions find real problems instead of typos.
A list call that quietly returned one page instead of all of them led to 2,590 user accounts being removed in one day. Our tests had covered it, with a hundred users that all fit on one page. The fix was small. The lesson was about which tests can’t fail.
Code that checks whether someone is an owner feels safe. In a system with custom roles, it’s a bug waiting for a customer. We made a rule that no role has special behavior, and then made the build enforce it, because a rule people have to remember is a rule people forget.
Most feature flags I see are waiting rooms. The feature ships off, waits for someone to feel brave, and often never reaches customers. I use flags the other way around. Turn the feature on for everyone fast, and keep the flag so it can be switched off without a deploy.
Our workload scheduler can lock a whole organization out with one config change. The obvious fix was to make it more forgiving. We built a preview instead, so admins can see what a config would do to their real workloads before they apply it.
Give someone Workspace operator on a project and they still can’t pick the project’s cloud, because that takes read access on the cloud. We could have made the permission model infer it. We kept the model dumb and made the console say what’s missing instead.