Create and edit custom roles
Create a custom role with the permissions a member needs, edit it, and delete it when unused.
Create a custom role when the built-in roles give a member too much or too little.
Before you start
- You are an Owner or Admin, or your custom role holds
roles:readandroles:write. - Creating, editing and deleting a role need a sign-in within the last 30 minutes. An API token cannot do them.
- You can grant only permissions you hold. You cannot edit or delete a built-in role, your own role or a role stronger than yours.
- No custom role can hold billing write, site keys, the account data export, account deletion or ownership transfer. Owners keep them.
Steps
- Open Roles and select Create custom role.
- Enter a name of 1 to 40 characters. It differs from every other role of the account, ignoring case.
- Select the read and write permissions the role needs. A role holds at least one. The Permission matrix lists what each allows.
- Save the role.
- Open Team, select Edit on a member's row and select the role. You can also pick it when you invite the person. See Invite and manage team members.
- To change a role later, select Edit on its row, change the name or permissions and save. Members get the new permissions from their next request.
- To delete a role, first move its members to another role and revoke its pending invitations. Then delete the role.
Result
The role appears in Roles with its member count, and in the role list of Team. A member sees a sidebar tab only when the role holds that tab's read permission.
A custom role with team:write, roles:write, restores:write or site_deletion:write counts as Owner and Admin for sign-in. Its members need a second factor and get shorter sessions. See Sign in and secure your account.
If something goes wrong
- A permission is not offered, or Fleet refuses it. You do not hold it, or no custom role can. Ask an Owner.
- You cannot edit a role. It is a built-in role, your own, or stronger than yours.