Skip to Content
mlab docs

Team and roles

What an organization is, how to invite people, what each role can do, domain join, removing a member, and how API keys fit in.

Everything you do on mlab.sh happens inside an organization. Your scans, cases, API keys, webhooks, infrastructure and audit log belong to it, not to you. When you sign up, you get an organization of your own. An account belongs to one organization only.

On the Free and Pro plans an organization has one seat. Team and Enterprise let you bring in colleagues.

Invite a member

Only the owner and admins invite people.

Open Organization → Team and click Invite member.

Fill in first name, last name and email address, and pick a role. With no role chosen, the invitation is for Member.

Click Invite Collaborator. The person gets an email with a link to choose their password and join.

The link is valid for 7 days. Until the person signs in, the invitation shows on the Team page, where you can Resend invitation (the previous link stops working) or Cancel invitation.

An address that already has an mlab.sh account cannot be invited, since an account belongs to one organization only. That person can delete their account and then be invited again.

Roles

There are four fixed roles. An organization always has exactly one Owner.

What you can doOwnerAdminMemberViewer
See the organization's results, activity and casesyesyesyesyes
Run scans and lookups (spends the quota)yesyesyesno
Create cases, add indicators and comments, tag RedKit findings, create share linksyesyesyesno
Delete what you created yourself in a caseyesyesyesno
Delete other members' cases and comments, delete RedKit auditsyesyesnono
Create, change and delete API keysyesyesnono
Webhooks, alerting, infrastructure assets, scheduled scansyesyesnono
Invite and remove members, change rolesyesyesnono
Organization settings and the audit logyesyesnono
Subscription and billingyesnonono
Transfer ownership, delete the organizationyesnonono

In short: admins manage members, keys and integrations. Members run scans and work on cases. Viewers can only read.

A few rules apply to role changes:

  • Nobody changes their own role or removes themselves (use Leave instead, see below).
  • Admins can give any role up to Admin, including to other admins.
  • Nobody becomes owner by a role change. That is an ownership transfer.

Workspaces have their own access rules on top of these roles: see Who can do what.

Transfer ownership

The owner can hand the organization to another member, from the Team page or from Organization settings → Danger zone. The new owner takes over billing and ownership, and you become an admin. Only they can give it back. You can only transfer to someone who has accepted their invitation.

Domain join

Instead of inviting each colleague, you can let people who sign up with your company email join on their own.

Prove your domain in Inventory → Assets with a DNS TXT record. See Verify your infrastructure.

In Organization settings, turn on Let people with an email on this domain join on their own, as members.

What happens when someone signs up with an address on a domain your organization proved:

How it works:

  • Only on Team and Enterprise. On Free and Pro the plan has one seat, so such sign-ups are refused.
  • People join as Member. You can change their role afterwards.
  • If the switch is off, sign-ups with your domain are refused: the domain is closed.
  • With a password sign-up, the person joins once they enter the code emailed to them. With Google or GitHub, they join at once.
  • Webmail and disposable email domains are never used for domain join.
  • If several organizations declare the same domain, the first one to prove it keeps it.

Owners and admins can see what members do in the organization (see Data and privacy). Tell your staff before you turn on domain join.

Two-factor authentication

The owner and admins can turn on Require 2FA on the Team page. Members without a second factor get an email and have 7 days to set one up. Before you can turn it on, your own account must have 2FA.

If a member loses their second factor, an owner or admin can reset it from the Team page. Their authenticator app, passkeys and recovery codes are removed, they are signed out everywhere, and they set it up again at their next sign-in.

Remove a member

On the Team page, an owner or admin picks Remove member. The owner cannot be removed.

  • The person keeps their mlab.sh account. It moves to a new organization of its own.
  • They lose access to your organization's data at once.
  • They are signed out everywhere, and their MCP tokens are deleted.
  • The removal is recorded in the audit log.

Leave an organization

Any member can leave from Organization settings → Danger zone → Leave. The effect is the same as a removal: you keep your account, lose access to the organization's data, and only a new invitation brings you back. The owner must transfer ownership before leaving.

API keys and who work is credited to

API keys belong to the organization, not to a person. The owner and admins create, change and delete them in Organization settings → API keys. Every member can see them there, without the key itself. A key keeps working when the person who created it leaves, and its scans count against the organization's quotas.

Work done with a key is credited to the key, not to a member:

  • Scans are counted per key, and the team activity feed names the key instead of a person.
  • Cases, comments and finding tags written with a key show as API key · <name>. A key deletes only what it created itself.
  • Scheduled scans and RedKit audits launched with a key belong to the organization's first member, who receives their emails.

MCP tokens are different: they are personal. Each member manages their own in their account settings, and they are deleted when the member leaves or is removed.

For permissions and limits per plan, see API keys and Who a key's work is credited to.

On this page