Enrollment scope¶
A node enrols into an organization and a pool. It does not enrol into a workspace, and nothing in an enrollment record names one.
flowchart TB
O["Organization<br/>tenant_scope"] --> P["Pool<br/>dataplane_pool"]
P --> N["Enrolled node"]
N --> A["Assignments arrive<br/>carrying workspace scope"]
A --> W1["Workspace payments"]
A --> W2["Workspace risk"]
One node serves every workspace in its organization. Which workspace a piece of work belongs to travels on the assignment, not on the node.
The scope an enrollment carries¶
| Field | Set from |
|---|---|
tenant_scope |
The invitation, which was minted for one organization |
dataplane_pool |
The invitation, which was minted for one pool |
node_label |
The node's own report |
Both scope values are written into the enrollment's metadata at exchange and are compared on every later claim the node makes. The runtime credential the node receives carries the same pair, and registration refuses when the credential and the enrollment disagree.
Why the boundary stops at the organization¶
The design is explicit that tenant_scope exists so runtime identity can be
admitted against tenancy policy while enrollment stays independent of any one
workspace. Three consequences follow.
A node is not provisioned per workspace. Creating a workspace does not require a node, and a node does not need re-enrolling when a workspace is added.
Workspace isolation is enforced elsewhere. It applies at routing, dispatch and reporting authorisation, on each assignment, rather than at the node boundary. See Workspaces.
Tenancy must exist before any node. The invitation needs an organization and a pool to be scoped to, which is why the day-0 order puts tenancy first. See Tenancy before nodes.
Where the scope is checked¶
| Point | What is compared |
|---|---|
| Invitation mint | The pool exists for the organization |
| Exchange | The invitation's pair, against any active enrollment for this installation |
| Runtime registration | The credential's pair and the reported pair, both against the enrollment's |
| Dispatch, shared profile | The enrollment's pair, against workspace metadata |
Every comparison is exact equality on both halves. See Pools, tenant scope, and placement.
Changing the scope¶
The pair is fixed for the life of an enrollment. Moving a node to a different pool or organization is a new enrollment: retire the current one, mint an invitation for the target scope, and exchange again. See Manage an enrollment over its life.