Organization and workspace stores¶
Organizations and workspaces are the two scopes every other record hangs off. They are created through their own capabilities, identified by UUID, and named once. This page is what the two stores guarantee, because most authorisation and scoping behaviour follows from where a record sits.
Two scopes, one containment¶
flowchart LR
subgraph O["ORGANIZATION, the tenancy boundary"]
direction LR
subgraph W1["WORKSPACE"]
direction TB
R1[("Runs, flows, policies,<br/>secrets, assignments")]
end
subgraph W2["WORKSPACE"]
direction TB
R2[("Runs, flows, policies,<br/>secrets, assignments")]
end
end
A workspace's organization_uuid is set when it is created and stays fixed, so
a workspace belongs to one organization for its life. Every scoped record names
its workspace, and the organization is reached through the workspace rather
than carried alongside it.
Names are unique and permanent¶
An organization name is unique across the deployment. Creating one that already exists is refused rather than merged:
The name then stands for the life of the deployment, because records elsewhere were keyed by it at creation. A workspace name is unique within its organization, which is why resolving a workspace name requires an organization first. See The name/UUID boundary across planes.
Reads are exact¶
A lookup matches the recorded UUID or the recorded name, with no prefix
matching. A value matching nothing is 404, and a value matching more than one
is refused as ambiguous rather than resolved by a tiebreak.
What the scope decides¶
| The scope decides | Consequence |
|---|---|
| Where authorisation is evaluated | Roles are collected at both workspace and organization level and combined |
| Which records a listing returns | A listing is scoped, so an empty result can mean the wrong active context |
| Which quota window applies | Quota resolves binding, then project, then workspace |
| Where policy attaches | Attachment walks the hierarchy from the narrowest scope outward |
| Where telemetry lands | workspace_uuid is the first correlation field and the object prefix |
Governance revisions¶
Tenancy and governance records carry a revision that advances by one on every change. A decision can therefore be attributed to the revision in force when it was made, rather than to the record's current state.
See RBAC evaluation for how roles in these two scopes are combined, and Workspaces for what a workspace means to someone using it.