Dumb permissions, helpful hints: our access model never guesses, the console points out what’s missing
Our permission model creates this situation on purpose. An admin gives a colleague Workspace operator on one project. The colleague opens the console to pick a cloud and get to their workspaces. The cloud isn’t there.
Nothing is broken. To see a cloud, you need read access on it. A role on a project doesn’t include that. The admin also needed to give them Viewer on the cloud.
There are two ways to fix that. I’d argue against the obvious one.
The obvious fix: let the model guess
The tempting fix is a smarter permission model. If you can operate workspaces in a project, surely you can see its cloud. Just infer it. Or fold the extra roles an operator needs into the operator role itself so it works on its own.

It’s a reasonable instinct. Some of it was even explored in code. But every inference is a grant nobody wrote down.
- It surprises people. An admin checking who can see a cloud can’t rely on the grants they see. They also have to know every rule that quietly adds access on top.
- It assumes how access gets used. Someone with only “create workspace” could be a service account submitting work through the API. That account never browses to the cloud. It doesn’t need to see it. It shouldn’t.
- It doesn’t stay put. Every new surface - a CLI, an API, whatever comes next - must agree on the same guesses.
Every inference is a grant nobody wrote down.
So we keep our model deliberately dumb. A check asks one question: does this person hold this permission on this resource? The model walks the organization, cloud and project tree only to find where a grant was made. It never hands out access along the way. The big cloud providers do it the same way. Permission to create things in a container doesn’t come with read on its parents.
Dumb model, smart console
Instead, the guidance moves to the screens where you assign roles. You’re making the decision right there. While you pick roles, a small set of rules checks everything the person would end up with. Group access counts too. The rules point out what looks incomplete or pointless.
Today there are five:
- A project role without read on its cloud. “Workspace operator on ml-team cannot read the cloud.” One click adds Viewer on that cloud.
- An operator role without what launching needs. An operator can’t launch without the roles that deploy compute configs and images. The hint tells you which ones are missing.
- A grant that adds nothing. A group or a role higher up might already cover everything the new role gives. The hint tells you it changes nothing. It shows where that access already comes from.
- A data viewer with nothing to view. A role that reads cluster data shows nothing if the person can’t read any project.
- A deny with nothing to deny. “Has no effect: no role here allows what it denies.”
Three rules keep it honest:
- It never blocks saving. Every combination is a valid grant. Some are exactly what an admin wants, like that service account.
- It reads permissions, not role names. A custom role with cloud read clears the hint just like Viewer does. If the roles change one day, the hints adjust on their own.
- It says what’s missing and offers the fix, right on the affected scope. No paragraph of policy.
The mistake I kept making
The pull to make the system judge grants is strong. It’s not just me. While fixing a bug, my coding agent proposed two changes like that in a row. First: hiding a binding from a list because its role did nothing at that scope. Second: refusing to save one that looked pointless. Both sound helpful. Both let the system decide what the admin meant. Both became hints instead. The rule is now written down where my agents read it: any role on any scope is a valid grant. The most we do about a strange one is say so.

What’s next
The same hints belong in the CLI too. An admin assigning roles from a terminal deserves the same nudge. The open question is whether the API should return the warnings. That way the console and the CLI read them from one place. Neither has to keep its own copy of the rules. I’d bet on the API.
Keep the core strict and predictable. Put the help where people make the decision. It’s the same choice I made in our scheduler. The obvious fix there was making a dangerous tool more forgiving. Instead, a preview worked better.