# Roles and permissions

This page lists the roles in a MassifyAI organization, the capabilities each role holds, the three project roles, and who can see, change and delete things in each part of the product. It is a lookup for anyone deciding who should hold which role. To create teams, invite people and set roles, see [Set up your organization, teams and projects](/docs/how-to/set-up-your-organization).

## Two kinds of role

MassifyAI has two layers of permission:

- An **organization role** (for example "Team Lead") is a named set of capabilities. A capability is one specific permission, such as "invite people". Access always follows the capabilities, never the role's name, so renaming a role changes nothing about what it allows.
- A **project role** (Admin, Editor or Viewer) says what someone may do inside one project. A project holds skills, agent profiles, Knowledge Base documents, connectors, tasks, shared sessions and API keys.

## The three starting roles

Every new organization starts with three roles. The person who creates the organization gets "Organization Admin".

| Role               | Where it applies                                  | Capabilities                                                                                                                                                                                     |
| ------------------ | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Organization Admin | The whole organization                            | `fleet.view.all`, `agent.govern`, `billing.manage`, `security.view`, `skills.author`, `org.invite`, `connections.manage`, `org.structure.manage`, `content.delete`, `chains.work`, `chains.ship` |
| Team Lead          | The team it is given at, and teams filed under it | `fleet.view.subtree`, `agent.govern`, `security.view`, `skills.author`, `org.invite`, `chains.work`                                                                                              |
| Team Member        | Their own work                                    | `fleet.view.own`, `security.view`, `skills.author`, `chains.work`                                                                                                                                |

## What each capability means

- `fleet.view.all`: see the whole organization's activity, such as everyone's recorded sessions.
- `fleet.view.subtree`: see your own activity and that of the people in the teams you lead.
- `fleet.view.own`: see your own activity. A wider view includes the narrower ones.
- `agent.govern`: approve proposed changes, and change or delete skills, agent profiles, Knowledge Base documents and recorded sessions in the teams you lead. It also lets you manage the "Repositories" tab in Settings.
- `security.view`: see Security Watch, the record of secrets the MassifyAI secret guard stopped, for the incidents your view covers (your own, your teams', or everyone's).
- `skills.author`: create skills and propose changes to them in the Skill Center.
- `org.invite`: invite people and give people roles you hold yourself. Through the API it also creates and edits roles; the console no longer does (see "Custom roles").
- `connections.manage`: connect systems such as GitHub and Asana, approve custom connectors, and set what agents may do with them, in the Adapter Hub.
- `org.structure.manage`: create, rename and delete teams, move people between teams, rename the organization, and remove people from it.
- `content.delete`: delete skills and agent profiles across the organization, choose which version of an agent profile is current, and detach a skill from an agent profile.
- `billing.manage`: billing authority. Together with `security.view`, it is one of the two capabilities that allow changing the data policy (see below).
- `chains.work`: work on chains: start a chain, promote it to a test environment, seal it, sync it, place a hold, adopt a branch as a chain, correct a chain's owner, abandon a chain or take a task off one. Every starting role holds it.
- `chains.ship`: ship chains: accept a chain into the live branch, release to prod, and lift a hold. Only Organization Admin holds it; an admin lets anyone else ship with the "Can ship chains" switch (see below). It counts only when held for the whole organization: a role carrying it that was given at one team lets nobody ship.

### "Can ship chains"

"Can ship chains" is a switch on a person, not a role you give them. In the console, open Settings › People, choose the person, and turn on "Can ship chains"; with your agent, call `people_set_can_ship_chains` with their `userId` and `canShip`. It adds `chains.ship` for the whole organization, on top of their organization role, and turning it off takes it away again.

- Only someone who can let others ship may change it: an Organization Admin who holds `org.invite` for the whole organization, or someone who holds `chains.ship`, `chains.work` and `org.invite` for the whole organization. The built-in Organization Admin role holds `org.invite`. A Team Lead cannot.
- Every Organization Admin can ship chains, however they became one, including through several roles that only add up to admin rights together. Their `shipFrom` is `org_admin`, and the switch does nothing for them: turning it on is refused and changes nothing, and so is turning it off when they have no switch to turn off. A switch an admin does have can be turned off; they keep shipping as an admin.
- Turning a switch off, changing someone's roles or a role's rights, or removing someone is refused if it would leave nobody in the organization who can let others ship (`last_ship_granter`): no Organization Admin holding `org.invite` for the whole organization, and nobody else holding `chains.ship`, `chains.work` and `org.invite` for the whole organization.
- Whether a person can ship shows on their own row in Settings › People and in `people_list`. A colleague's shows only to someone who can see that colleague's roles: Organization Admins see everyone's, a Team Lead only the people whose roles were all given within the teams they lead.
- A change takes effect at the person's next sign-in, at most 15 minutes later, whether you turn it on or off.

See [Chains: Who can do what](/docs/features/chains) for what a person sees when they are refused.

## Custom roles

The console cannot create or edit roles. Custom roles an organization already has keep working: whoever may change a person's organization role can still choose one in Settings › People, on the person's "Org role". Custom roles that lead specific teams are given at a team instead, so they are not in that list.

When chains rights arrived, every role an organization already had, custom roles included, was given `chains.work`, so nobody lost the right to work on chains. Every role that on its own makes someone an Organization Admin was also given `chains.ship`. Someone who is an Organization Admin only through two or more roles together needs no role of theirs to carry `chains.ship`: every Organization Admin can ship however they became one, so none of those roles lets its other holders ship.

Rules that still apply:

- You can only give roles whose capabilities you hold yourself.
- MassifyAI refuses any change that would leave nobody able to invite people.

## Project roles

| Project role | What it allows                                                                               |
| ------------ | -------------------------------------------------------------------------------------------- |
| Admin        | Manage the project, its members and its Task Board columns, plus everything an Editor can do |
| Editor       | Add and change skills, agent profiles, connectors, documents and tasks                       |
| Viewer       | See and use everything in the project, change nothing; Viewers can still comment on tasks    |

How a person gets a project role:

- Organization Admin: Admin of every project.
- Team Lead: Admin of the projects in teams they lead.
- Team Member: Editor of the projects in their teams.
- Direct membership: a project admin can add anyone in the organization as Admin, Editor or Viewer.

If several apply, the highest role wins. A project Admin can rename the project and manage its members, but deleting a project is for Organization Admins and the Team Leads of its team. A Viewer sees this banner in the console: "You're a viewer in" the project's name, followed by "you can see and use its skills, agent profiles and connectors, but not change them."

### "Approval required"

Each project has an "Approval required" switch, off by default, set by the team's Team Lead or an Organization Admin in Settings on the "Projects" tab. When it is on, a Team Member's new skill, new agent profile, or change to one waits under "To be Approved" until someone with `agent.govern` approves it. When it is off, those changes are approved automatically.

### Sharing into another project

Skills, agent profiles and Knowledge Base documents can be shared into other projects. People in the receiving project can use them and propose changes; proposals wait for approval, and a share never lets them delete the original. Connectors are shared with one of three levels: "Can use", "Can edit", or "Can edit and delete". Sharing with "Whole organization" also covers projects created later.

## Who can see, change and delete

"Team Lead" below means a Team Lead of the team that the item's project, or its owner, belongs to.

| Product                                    | Who can see                                                                                                                                          | Who can change                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Who can delete                                                                                                                                  |
| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Skill Center (skills)                      | Project skills: everyone in the project. Personal skills: the owner, their Team Lead, Organization Admins                                            | The owner, a Team Lead, Organization Admins. Other Editors propose changes. Switching Personal and Project: the owner or an Organization Admin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | The owner, a Team Lead, Organization Admins. Curated originals are read-only for everyone; hiding an item is separate from deleting it          |
| Agent profiles                             | Project profiles: everyone in the project. Personal profiles: the owner, their Team Lead, Organization Admins                                        | Personal: the owner or an Organization Admin. Project: the owner, a Team Lead, Organization Admins. Others file change requests                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | The owner, a Team Lead, Organization Admins                                                                                                     |
| Knowledge Base documents                   | Everyone in the document's project and in projects it is shared into                                                                                 | Whoever added it, a Team Lead, Organization Admins. Others propose changes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Whoever added it, a Team Lead, Organization Admins                                                                                              |
| Session Records (recorded coding sessions) | Team Member: their own. Team Lead: their own and their teams'. Organization Admin: everyone's. Anyone in a project the owner shared the session into | Only the owner can share or rename a session                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | The owner, a Team Lead, Organization Admins. When the organization records everyone's sessions, only Organization Admins                        |
| Task Board                                 | Everyone in the project                                                                                                                              | Project Editors and Admins. Viewers read and comment. Reassigning: the task's owner, its creator, a project Admin, or anyone who can edit it while it has no owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | The task's owner or creator (if they can still edit the project), and project Admins, which includes Team Leads and Organization Admins         |
| Security Watch                             | Team Member: incidents they caused. Team Lead: their teams' and their own. Organization Admin: all                                                   | Turning it on or off, and showing messages: Organization Admins, in the data policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Nobody. Incidents are not deleted by age                                                                                                        |
| Adapter Hub (connected systems)            | Everyone in the organization sees what is connected                                                                                                  | People with `connections.manage` (Organization Admins by default). What is kept of GitHub and Asana: Organization Admins                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | People with `connections.manage` disconnect a system                                                                                            |
| Chains                                     | Everyone in the organization sees the repos that run chains and their chains                                                                         | Working on chains (start, promote, seal, sync, place a hold, adopt a branch as a chain, correct a chain's owner, abandon, take a task off): everyone. Abandoning a chain, taking a task off one, or syncing one with unsealed work is for the chain's owner: anyone else must pass `force: true`, and is named as the caller; a chain with no recorded owner is open to anyone who works on chains. Re-owning someone else's chain that carries their work log also needs `force: true`. Shipping (accept, release to prod, lift a hold): Organization Admins and people whose "Can ship chains" switch is on. Setting up a repo and its environments: Organization Admins. Checking a repo's branch protection: everyone | Abandoning a chain or taking a task off one: the chain's owner, or anyone else who works on chains with `force: true` (see the previous column) |
| Data policy                                | Organization Admins                                                                                                                                  | Organization Admins who also hold `security.view` or `billing.manage` across the whole organization (the starting Organization Admin role has both)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Not applicable                                                                                                                                  |

Deleted skills, agent profiles, documents, sessions and tasks go to "Recently deleted" for 30 days. The same people who can delete an item can restore it or choose "Delete permanently".

## Related

- [Set up your organization, teams and projects](/docs/how-to/set-up-your-organization)
- [Console settings](/docs/reference/settings)
- [Connect GitHub, Asana and other MCP servers](/docs/how-to/connect-your-systems)
- [Use the Task Board](/docs/how-to/use-the-task-board)

See [the workspace improvement loop](/docs/concepts/workspace-improvement-loop) and [supported clients](/docs/reference/supported-clients) for the current journey and client boundaries.
