Skip to content
NebulaCtrldocs
Guides

Manage members and teams

Invite people to an organization, set their roles, group them into teams, require two-factor sign-in and provision members from your identity provider with SCIM.

An organization has no passwords or sign-up form. People arrive through your identity provider and hold one of four roles. This guide covers the whole life of a member, from invitation to removal.

Before you begin

  • You need the admin or owner role in the organization. Only an owner can grant or remove the owner role.
  • Creating invitations and organizations needs a signed-in person. An API token cannot do either, whatever its role. Who may create an organization depends on the installation: by default only owners of the first organization, the one created at the first sign-in, can. The operator can widen that to every member, or to any signed-in person, with the --organization-creation server flag. See the configuration reference.
  • The control plane sends no email. You send each invitation link yourself.

Choose a role

Each role includes everything the roles listed before it can do.

RoleWhat it can do
ViewerReads everything, changes nothing. Secret values stay masked.
DeployerDeploys, rolls back and edits services, variables, domains and volumes. Can reveal secret values. Production changes need an admin's approval, and a deployer cannot write a protected environment's variables directly: the edit is staged and waits for that approval. Can stop a service, but not a database in a protected environment.
AdminApproves production. Deletes or restores a database, or any service in a project with a protected environment, and stops a database in a protected environment. Replaces or removes the Cloudflare token. Manages clusters, projects, members, teams, API tokens, other integrations and policy, and the SCIM token from a signed-in session. Changing the recovery window and Delete now need a sign-in within the last 15 minutes.
OwnerTransfers ownership and deletes the organization. An organization can have several owners.

Invite a person

  1. Open Settings > Members and select Invite.
  2. Enter the person's Email and choose a Role: Admin, Deployer (the default) or Viewer. The console does not offer Owner; give someone the owner role by changing their role after they join.
  3. Select Create invitation. The dialog shows Send this link to the address.
  4. Select Copy link, then Done. Send the link to the person yourself.

The link works once and expires after 7 days. The pending invitation shows an invited badge in the member list, with its expiry.

The person opens the link, signs in at your identity provider with the invited address and selects Accept invitation. The address must match the invitation, ignoring case, and your identity provider must report it as verified (email_verified true in the ID token). Otherwise the control plane answers this invitation was sent to ADDRESS; you are signed in as OTHER, or, for an address the provider has not verified, refuses and tells the person to verify it with the provider, sign in again and reopen the link.

A person who has never signed in does not need the link. If your identity provider reports their email as verified, the first sign-in accepts the newest unexpired invitation for that address automatically. Without an invitation or a SCIM grant, they see "signed in successfully, but has no invitation to an organization on this installation" and are signed out.

To cancel an invitation, select Revoke on its row, then Revoke invitation. The link stops working immediately.

Change a role

In Settings > Members, open the Role menu on the member's row and choose a role. Only an owner can grant or remove the owner role.

An organization must keep one owner. Demoting the last owner fails with this would leave the organization with 0 owners; make someone else an owner first. Making someone an admin or owner needs a browser session that signed in within the last 15 minutes. If yours is older, NebulaCtrl asks you to sign in again and brings you back. Lowering a member's role revokes every API token they created, so the console asks you to confirm first. The dialog is titled Make NAME deployer?, for example, and says that the tokens are revoked at once and that anything using them stops working. Select Change role to confirm. Changing your own role asks too, whichever direction it goes, because you lose the old role's permissions at once.

Remove a member

  1. Select Remove on the member's row. Owners and your own row have no button.
  2. Confirm with Remove member.

The member loses access immediately, and the API tokens they created in this organization are revoked. Their team memberships end. Audit history is kept. When this was their last organization, their browser sessions end in the same step, so they are signed out on their next request. While they belong to another organization, their sessions stay, because a session is shared across the installation and still works there. They keep their account at your identity provider and can sign in again, but they reach no organization, and by default they cannot create one (see Before you begin).

Leave, hand over or delete an organization

Open Settings > General and use the danger zone. Each action asks you to type the organization's slug first.

  • Leave… removes you from the organization and signs you out. The only owner cannot leave: transfer ownership first.
  • Transfer… (owners only) hands the owner role to another member and keeps you as an admin. It also revokes the API tokens you created.
  • Delete… (owners only) removes the organization, its projects and their release history. It is refused while any cluster is still enrolled.

Group members into teams

A team names a group of members and owns projects. A team grants no access: roles come from the organization, so every member reaches every project unless an API token limits it.

  1. Open Settings > Members and, under Teams, select New team.
  2. Enter a Name and select Create team.
  3. Select Members, tick the people, and select Save members.
  4. Assign the team to a project in Owning team when you create the project, or under Team in the project's settings.

Rename and Delete are on each team row. Deleting a team leaves its projects without an owning team and keeps its members in the organization. A team provisioned by SCIM shows a SCIM badge and Managed by your identity provider; change it at the provider.

Require two-factor sign-in

NebulaCtrl keeps no second factor of its own. It reads the amr claim of the ID token that your identity provider returns. By default a sign-in counts as two-factor when amr contains mfa, otp, hwk, swk, fpt, pop, sms or face. That list includes codes sent by text message, which phishing can defeat. The 2FA column in Settings > Members shows on, off, or not reported when the provider sent no amr claim.

  1. Sign in with a second factor yourself. Turning the requirement on is refused for a session that did not use one, and for a session that did not use a hardware key or passkey when you ask for those only.
  2. Open Settings > Security & policy. Under Authentication, switch on Require two-factor for everyone.
  3. Under Accepted second factors, keep Any second factor, or choose Hardware key or passkey only. That choice accepts a sign-in only when amr contains hwk, or contains both swk and pwd. Check first that your provider reports these values for the factor your people use; one that reports mfa only will refuse everyone.
  4. Read the count of members who signed in without a second factor, then select Require two-factor. Changing the security policy needs a browser session that signed in within the last 15 minutes.

From then on, every request from a session without the accepted second factor is refused with this organization requires two-factor sign-in and you signed in without it; sign out, then sign in again using a second factor at your identity provider. The check runs on every request, so it applies to sessions that are already open. Under Hardware key or passkey only, a session that was opened before NebulaCtrl recorded that detail counts as not having one, so those people sign in again. API tokens and cluster agents are not affected: a token carries no second factor, whichever setting you choose, and the API token limits are the controls for tokens.

A provider that never reports amr locks everyone out

If your provider sends no amr claim, every session counts as not reported and is refused. If it only reports a second factor for a stronger authentication context, set the --oidc-acr-values server flag, which the standard Compose file does not pass on. See Sign-in and recovery to set it and to recover from a lockout.

Provision members with SCIM

SCIM lets your identity provider create, update and deactivate members, and sync its groups as teams. The endpoint is BASE_URL/scim/v2, where BASE_URL is the control plane's public URL. It supports Users and Groups, the eq filter and PATCH.

  1. Open Settings > Security & policy. Under Authentication, find SCIM provisioning and select Turn on.
  2. Copy SCIM endpoint URL and Bearer token. The token is shown once.
  3. Paste both into your identity provider's SCIM provisioning settings.

An organization has one SCIM token. Rotate token replaces it, and the old one stops working at once. Turn off disables it; people and teams already provisioned stay as they are.

How the provider's data maps:

  • A SCIM user is a grant, not an account. It binds to a person at their first sign-in, matched by email, and only when the identity provider reports the email as verified.
  • roles sets the role: viewer, deployer or admin. The default is viewer. owner is rejected.
  • A SCIM group becomes a team. Groups carry no role.
  • Setting active to false, or deleting the user, removes the membership and revokes the API tokens that member created in the organization. It ends their sessions only when they belong to no other organization. Deprovisioning the only owner is refused.

The SCIM resource routes are not part of the OpenAPI document.

Verify

  • A new member appears in Settings > Members with their role after they accept.
  • After you switch on the requirement, a session without a second factor is refused and the 2FA column shows on for members who have one.
  • SCIM-provisioned people and teams appear with a SCIM badge after the provider's next sync.
  • Each change is an audit event. See the audit log.

Next steps

On this page