Roles and permissions
Four built-in roles and custom roles decide what each member can see and change.
What it is
A role is a named set of permissions. Every member of an account holds one role, which decides the tabs they see and the actions they can take. A permission is resource:read or resource:write for one resource, such as sites, deploys, connections or team. The permission matrix lists every permission for every role.
How it works in Fleet
There are four built-in roles:
- Owner: full control, including the plan page, the account data export, account deletion and ownership transfer. An account always has at least one Owner.
- Admin: everything except plan changes, the account data export, account deletion and ownership transfer.
- Developer: builds and operates sites in assigned workspaces and manages their own API tokens. A Developer cannot delete a created site.
- Read-Only: views everything in assigned workspaces and changes nothing.
Owners and Admins create custom roles on the Roles tab, choosing read or write for each resource. A custom role is account-wide.
Workspace access is separate from the role. Owners and Admins reach every workspace. Every other member has All workspaces or a list that an Owner or Admin sets in the Team tab. Whoever reaches a workspace sees every site in it.
A tab is hidden when the role lacks its read permission. The Team, Roles and Account Settings tabs, and the audit view of the Logs tab, are for Owners and Admins.
Roles apply in Fleet only. No Fleet code runs on a site, Fleet creates no user on a site and it signs nobody in to a site's EmDash admin.
Rules and limits
- A custom role never exceeds the permissions of the member who creates or edits it. Nobody edits or deletes a role stronger than their own.
- A custom role can never hold billing write, revealing a site's encryption key, the account data export, account deletion or ownership transfer.
- Creating, editing or deleting a role asks you to sign in again if your last sign-in is older than 30 minutes. An API token cannot do it.
- A role in use cannot be deleted. The Roles tab shows how many members hold each role.
- An API token carries the permissions and workspaces chosen at creation, never more than its creator holds. Owners and Admins see and revoke every token. A Developer sees and revokes their own.