Organizations
- Version
- since 2.x, describes 2.52.14
- Feature flag
organization_tier- For
- Organization administrator, Workspace administrator
An organisation is a tier above workspaces for an institution or company that has several independent workspace owners. Its administrators see every attached workspace read-only, create new workspaces under it, archive them, invite and remove members, and read an organisation-wide consumption report. Staff in the operator console create the organisation, attach workspaces and set its quota ceilings; sign-in through your identity provider can add members to it automatically.
What it does
- Adds a third level to the tenancy model: organisation, then workspace, then project. A workspace belongs to at most one organisation; a workspace with no organisation is valid and stays valid.
- Gives each organisation two roles, admin and member, kept apart from workspace roles. Organisation administrators get no rights inside member workspaces beyond read-only visibility and archiving.
- Lets organisation administrators invite members by e-mail. A known address is added at once; an unknown address receives a single-use invitation link that is bound to that address and valid for 24 hours.
- Lets organisation administrators create a workspace under the organisation with an organisation member as its Owner, inspect each attached workspace (usage, projects, instances) and archive it.
- Lets staff set one quota frame per capacity pool as an organisation-wide ceiling. When
resource_quotasis on, purchases, storage and registry requests of every attached workspace are checked against it; the rejection cause isquota_exceeded_organization(storage:quota_exceeded_storage_organization, registry:quota_exceeded_registry_organization). Dimensions and the order of the checks are on Quotas and capacity. - Aggregates consumption across the organisation's workspaces, with one row per workspace, as JSON, CSV or a printable PDF. The figures and their definitions are on Reports and accounting.
- Adds users to an organisation on every sign-in through an OIDC provider whose token matches a rule; see Single sign-on and 2FA for the provider itself.
- Is switched on with the
organization_tierfeature flag. With the flag off, the customer routes answer404 feature_disabled, the web app shows no organisation entry, the sign-in hook does nothing and the organisation level of the quota check is skipped; the operator console page stays reachable so an organisation can be prepared first.
Where it is
| Surface | Path |
|---|---|
| Web app (organisation administrators) | Organization in the sidebar (a sub-menu listing each organisation when you administer more than one), then the tabs Overview, Workspaces, Members, Reports at /org/{handle} |
| Web app (invited users) | /organizations/join/{token}, opened from the invitation e-mail |
| Operator console | Platform, then Organizations; Manage opens the tabs Organization, Workspaces, Members, OIDC rules, Quota frames |
| API (organisation administrators) | GET /api/v1/organizations, GET /api/v1/organizations/{id}, GET and POST /api/v1/organizations/{id}/members, PATCH and DELETE /api/v1/organizations/{id}/members/{user_id}, GET and POST /api/v1/organizations/{id}/workspaces, GET /api/v1/organizations/{id}/workspaces/{workspace_id}, POST /api/v1/organizations/{id}/workspaces/{workspace_id}/archive, GET /api/v1/organizations/{id}/consumption, GET /api/v1/organizations/join/{token} |
| API (operators) | /admin/organizations, /admin/organizations/{id}, /admin/organizations/{id}/workspaces/{workspace_id}, /admin/organizations/{id}/members, /admin/organizations/{id}/oidc-rules, /admin/organizations/{org_id}/quota-frames/{pool_id} |
| CLI | none |
How to use it
The three levels and what lives at each
| Level | What is held there | Who administers it |
|---|---|---|
| Organisation | Members and their organisation role; attached workspaces; OIDC auto-attach rules; one quota frame per capacity pool (a ceiling over all attached workspaces); the organisation-wide consumption report | Organisation administrators (members, workspace creation and archiving, reports); staff (creation, attach and detach, rules, frames) |
| Workspace | Team members and workspace roles, instances, projects, billing, access tokens, the workspace quota frame | The workspace Owner and Administrator; see Workspace and Permissions |
| Project | Instances assigned to the project, the project quota, project storage | Workspace roles; see Projects |
Isolation follows the levels. Organisation membership gives no access inside any workspace: to work in a workspace a user must be a member of that workspace. The organisation's read-only workspace view is served by organisation-scoped routes and does not consult workspace membership. Billing stays per workspace; there is no organisation-level balance or invoice.
Organisation roles
| Role | May do |
|---|---|
admin | Open the organisation pages; list members, invite, promote, demote and remove them; list attached workspaces and open their read-only detail; create a workspace under the organisation; archive an attached workspace; generate the consumption report |
member | Nothing in the organisation pages. Membership makes the user selectable as the Owner of a new organisation workspace and counts them in the member total |
An organisation keeps at least one administrator: demoting or removing the last one is refused with org_last_admin. A user who is not a member of an organisation receives 404 organization_not_found on its routes, so the organisation's existence is not disclosed; a member who is not an administrator receives 403 organization_admin_required.
Invite a member (organisation administrator)
- Open Organization, then Members, then Invite member.
- Enter the e-mail address and choose Member or Administrator.
- If the address already belongs to an account, the user is added immediately (the API answers
202with statusmember_added) and receives a notification e-mail. If it does not, an invitation e-mail is sent (statusinvited) with a link to/organizations/join/{token}. - Inviting an address that is already a member is refused with
org_member_exists.
Accept an invitation (invited user)
- Open the link from the e-mail. If you are not signed in you are sent to sign-in first; register or sign in with exactly the invited address, then open the link again.
- The page shows Verifying..., then Welcome to the organization!, and redirects to the dashboard after 4 seconds.
- The token is single-use, expires 24 hours after it was issued and is bound to the invited address: a second use answers
token_action_executed, a late onetoken_action_expired, and a session signed in under a different address403 organization_invite_email_mismatch. Whileorganization_tieris off the page shows that organisations are not available.
Create a workspace under the organisation (organisation administrator)
- Open Organization, then Workspaces, then Create workspace.
- Enter a name and pick the Owner from the organisation's members. A user who is not yet a member cannot be chosen; the API refuses with
org_owner_not_member. - The workspace is created through the ordinary workspace-creation path (the chosen owner becomes its Owner, and when
resource_quotasis on it receives the default quota frame), then attached to the organisation. If the attachment step fails, the platform archives the new workspace so that no unattached workspace is left behind.
Inspect or archive a workspace (organisation administrator)
- Details on a workspace row opens a read-only drawer with the workspace's handle, its usage (GPUs, CPU cores, RAM, instances, storage and registry GB), its projects, and its instances with status and resource shape. Nothing in it can be changed.
- Archive runs the workspace deactivation path. It is refused while the workspace still has active instances (
all_workspace_instances_must_be_terminated_before_deactivation) and when the workspace was already deactivated (workspace_already_deactivated). Archiving is not deletion: deleting a workspace, with its storage and registry drains, remains a staff action. An archived workspace disappears from the organisation's lists and counts. - A workspace that is no longer attached, or belongs to another organisation, answers
org_workspace_mismatch.
Read the organisation's consumption (organisation administrator)
- Open Organization, then Reports. Choose Last month, Last 3 months or Custom with a start and an end.
- Generate report shows aggregate consumption and one row per workspace; Download CSV fetches the same report as CSV; Download PDF prints the generated table.
- The report needs both
organization_tierandconsumption_reports; without the second the page shows the unavailable state. What each column measures is defined on Reports and accounting.
Add members automatically from sign-in (operator)
- Register, test and enable the OIDC provider first; see Single sign-on and 2FA and Configuration.
- In Platform, then Organizations, Manage, tab OIDC rules, add a rule with the provider, a claim name and a match value. A rule matches when the ID token carries that claim as a string whose value equals the match value exactly.
email_domainis a pseudo-claim the platform derives from a verified e-mail address (the part after@, lower-cased); a token that carries anemail_domainclaim of its own is ignored, and an unverified or absent e-mail yields noemail_domain. Non-string claims never match. Duplicate rules are refused withorganization_oidc_rule_exists. - On every sign-in through that provider, each matching rule adds the user to its organisation as
memberif they are not a member yet. The hook never grantsadmin, never changes an existing role and never removes anyone; removal is always explicit. Rules of a deleted organisation are ignored. A rule added after users first signed in catches them on their next sign-in. - Auto-attach is best effort: a failure to record the membership is logged and does not fail the sign-in.
Prepare an organisation (operator)
The console steps, in runbook order, are on Configuration: create the organisation and its first administrator, add OIDC rules, attach existing workspaces, set the organisation's quota frames, then switch organization_tier on. Rules that apply:
- Every staff mutation requires a reason and is written to the staff activity log.
- Attaching checks that the organisation's frame on the workspace's pool has room for the workspace's current usage; otherwise
org_attach_headroom_exceeded. Force bypasses only that check and nothing else, and should be followed by raising the frame or reducing usage. - A workspace already attached elsewhere answers
org_workspace_mismatch; detach it first. Detaching deletes nothing. - An organisation with attached workspaces cannot be deleted (
org_has_workspaces); a duplicate handle is refused withhandle_not_unique. - The staff member routes stay reachable with the flag off, so a new administrator can be added when no usable one remains; the last-administrator rule still applies to demotion and removal.
On-demand and on-prem
- On-demand (web): switched on. Organisations are created by our staff: to have one created, with its first administrator, its workspaces and its quota ceilings, write to [email protected].
- Licensed on-prem: your operators create organisations, attach workspaces, set frames and OIDC rules in the operator console, and switch the capability on with the
organization_tierfeature flag; see Configuration. Organisation reports also needconsumption_reports, and enforcement of organisation frames needsresource_quotas.
Numbers
| What | Value | Where it is set |
|---|---|---|
| Organisations a workspace can belong to | at most 1 | platform |
| Organisations a user can belong to | any number; the sidebar shows a sub-menu when a user administers more than one | platform |
| Organisation roles | admin, member | platform |
| Administrators an organisation must keep | at least 1 (org_last_admin) | platform |
| Invitation link validity | 24 hours from issue, single use, bound to the invited e-mail | platform |
| Redirect after a successful join | 4 seconds | web app |
| Quota frames per organisation | one per capacity pool; dimensions on Quotas and capacity | staff, per organisation |
| Roles granted by OIDC auto-attach | member only | platform |
| Report presets | last month, last 3 months, custom range | web app |
Limits and known behaviour
- Organisation administrators have no write access inside member workspaces: they cannot see team members, change roles, buy or stop instances, or edit projects there. Only workspace members can.
- Organisation administrators cannot distribute the organisation frame among workspaces. Staff set both the organisation frame and each workspace frame; the organisation frame is a ceiling to observe. Raising a workspace frame does not resolve an organisation-level rejection.
- Organisations are created by staff only; there is no self-service creation in the web app. Moving a workspace between organisations is staff only (detach, then attach).
- Organisations do not nest, and identity providers remain platform-wide; a rule selects a provider, it does not configure one.
- Billing is per workspace. The organisation pages show usage and consumption, not balances or invoices.
- The Overview lists only the pools on which staff have set an organisation frame; with none set it reads "No capacity pools are assigned to this organization."
- The organisation routes accept a signed-in session only, not workspace access tokens, and member and workspace mutations are refused in an impersonated staff session.
- An attach forced past the headroom check leaves the organisation over its frame until usage falls or the frame is raised; purchases are rejected with
quota_exceeded_organizationmeanwhile. - Rolling the capability back is data preserving and must follow the runbook order: detach all workspaces, then switch
organization_tieroff. Disabling the flag with attachments in place hides the ownership data without removing it. - Auto-attach only adds. A user removed from an organisation who still matches a rule is added again at their next sign-in through that provider; delete the rule or stop matching to prevent it.
- Planned, not in 2.48.6: self-service organisation creation, organisation-level billing aggregation, quota sub-allocation by organisation administrators, nested organisations, write access of organisation administrators inside member workspaces, moving workspaces between organisations from the web app.
Related pages
- Capabilities by delivery model
- Quotas and capacity: the organisation level of the quota check, dimensions and rejection causes
- Reports and accounting: what the consumption report measures
- Single sign-on and 2FA: the OIDC provider that auto-attach rules refer to
- Workspace and Permissions: what happens inside a workspace
- Configuration: the operator console steps for organisations, rules and frames