Tenancy before nodes¶
An organization and a workspace are the first two objects you create after you can authenticate. Every other surface in the platform is addressed by one of them, so both must exist before anything else is reachable.
The dependency¶
flowchart TB
A["Authenticated actor"] --> B["Organization"]
B --> C["Owner binding at organization scope"]
B --> D["Workspace"]
D --> E["Owner binding at workspace scope"]
B --> F["Bootstrap authority<br/>per organization"]
F --> G["Data plane pool<br/>per organization"]
G --> H["Enrollment invitation<br/>organization + pool"]
H --> I["Enrolled node"]
D --> J["Projects, flows, packages,<br/>models, secrets, runs"]
The left branch is identity and tenancy. The right branch is compute. Compute depends on tenancy at every step, and never the other way round.
Why the order is required¶
Authorisation is evaluated per request against role bindings, and a binding exists only at organization or workspace scope. An actor with no binding anywhere resolves to an empty role set, and an empty role set denies everything:
One action is exempt from this check:
Any actor the control plane can resolve may create an organization. Creating it binds that actor as its owner, which is the first binding in the system and the source of every right the actor then has. See The owner role.
Rights begin when a scope begins: every permission is evaluated against a binding at organization or workspace scope.
What each day-0 step needs from tenancy¶
| Step | Takes | Why |
|---|---|---|
| Reconcile bootstrap authority | organization name | Enrollment governance is granted per organization |
| Create a data plane pool | organization name, pool name | A pool is a placement group inside one organization |
| Mint an enrollment invitation | organization name, pool name | The invitation is scoped to the pool it admits into |
| Publish a package | workspace | Publication records a workspace and its organization |
| Create a project, flow, or run | workspace | The workspace is the scope key on every record |
| Attach a policy release | organization or workspace | Both are attachment scopes |
| Read audit | organization or workspace | Audit is queried per workspace, or fanned out per organization |
The organization name is positional and required on each of these commands:
xratu bootstrap reconcile acme
xratu dataplane pool create acme edge-eu
xratu dataplane invitation create acme edge-eu
What runs before tenancy exists¶
Four operations run before any organization exists: deploying the control plane, reaching it, checking its health, and authenticating. Those are covered in Control-plane-only operations. Everything past authentication takes a scope.
The consequence when the order is skipped¶
An operator who authenticates and immediately tries to create a pool sees a resolution failure from the CLI rather than a permission error from the server, because the organization name cannot be resolved to a UUID:
An operator who reaches the server with a scope that exists but holds no binding for them sees the authorisation form instead:
The scope must exist, and you must hold a binding in it. The first message reports the first condition unmet, the second reports the second.
Names and UUIDs¶
You type names. The system stores UUIDs. acme and payments are yours to
choose; organization_uuid and workspace_uuid are generated at creation and
are what every API request and every stored record carries. The CLI resolves
one to the other before it calls anything, and refuses to let you set a UUID as
a config key:
Next¶
- Organizations covers what the outer boundary holds
- Workspaces covers what the inner boundary holds
- Create your first organization and workspace