Team roles
On this page
A workspace holds your projects, servers and team. This page covers inviting people, what each role controls, and how to move a project to another workspace.
Workspaces#
Everyone who signs up gets a workspace and owns it. You can belong to several workspaces and move between them with the workspace switcher.
The owner has a few rights no one else has:
- Only the owner can change the workspace's 2FA policy.
- Only the owner can transfer a project to another workspace.
- The owner can't be removed and can't leave the workspace.
Roles#
Each member has an app role: Admin, Member or Viewer. You pick the role when you invite someone or create a join link.
Roles are checked on every request, from the dashboard, the CLI and API keys alike. API keys and CLI sessions act with the role of the person who created them, and role changes apply immediately.
| Role | What they can do |
|---|---|
| Viewer | See the workspace, change nothing. Viewers can't read secret values (decrypted environment variables, project file contents). They can still manage their own account: password, 2FA, passkeys, sessions and personal API keys. |
| Member | Build and operate: projects, deploys, environment variables, domains, databases, cron jobs, functions, storage and servers. |
| Admin | Everything a member can do, plus managing the team and workspace. |
| Owner | Everything, including the owner-only actions below. |
These actions need Admin or Owner:
| Action | Who can do it |
|---|---|
| Invite members, remove members, revoke invitations | Admin or Owner |
| Create, list or revoke join links, and list pending invitations | Admin or Owner |
| Rename the workspace | Admin or Owner |
| Change workspace AI settings (model provider keys) | Admin or Owner |
| Change a project's AI agent settings (including auto-fix mode), or pause and resume agents | Admin or Owner |
| Activate Fleet and set members' Fleet roles | Admin or Owner |
| Open a root terminal on a connected server | Admin or Owner |
| Accept a project transfer into the workspace | Admin or Owner |
| Change the 2FA policy | Owner only |
| Start or cancel a project transfer | Owner only |
If you don't have the role an action needs, Dokwe returns 403 with the code INSUFFICIENT_ROLE.
Fleet roles#
Fleet has its own roles, separate from app roles. Being an app Admin doesn't give you Fleet access. Every member starts with No Fleet, and an Admin grants Fleet roles from the Team page.
| Fleet role | What it allows |
|---|---|
| No Fleet | No Fleet sidebar and no Fleet API access |
| Fleet Viewer | View everything in Fleet, change nothing |
| Fleet Operator | Viewer access, plus managing hosts and clusters and running drills |
| Fleet Admin | Operator access, plus failover, Fleet secrets and audit exports |
Invite by email#
Open the Team page#
Go to Team in the dashboard.
Send the invite#
Enter the person's email, pick a role and choose when the invite expires: 1 hour, 24 hours, 48 hours (the default), 7 days or 30 days.
They accept#
The person gets an email link. Existing users sign in to accept; new users create an account with the invited email. Signed-in users can also accept from a banner in the dashboard.
Each email can have only one pending invite per workspace. You can revoke a pending invite from the Team page.
Share a join link#
A join link lets anyone who has it join, with no invite email.
Generate the link#
On the Team page, open Join Links and click Generate Link.
Set its limits#
Add a label if you like, pick the role new joiners get, choose an expiry (1 hour to 30 days, default 48 hours), and set a maximum number of uses. Leave the maximum empty for unlimited uses.
Share it#
Copy the link and send it. The Team page shows each link's use count, and you can revoke a link at any time.
When a signed-in person opens the link at /join, Dokwe asks them to confirm before adding them to the workspace. If they already belong to it, Dokwe offers to switch to it instead. If their account has 2FA on, they confirm the join with an authenticator code, a recovery code or a passkey.
Require 2FA for new joiners#
The owner can turn on Require 2FA in Settings → Workspace. When it's on, people joining through a join link must already have an authenticator app or a passkey on their account. If they don't, they're asked to set up 2FA and open the link again. See Account security.
The policy is checked when someone joins. Existing members keep their access, and the settings page shows how many current members don't have 2FA yet.
Leave or remove members#
Leave or remove members from the Team page. If your account has 2FA, confirm leaving with a code or a passkey.
Transfer a project to another workspace#
You can hand a project to someone in a different workspace. Only the workspace owner can start a transfer.
Send the transfer#
Open the project's Settings, find Transfer Ownership, enter the recipient's email and click Send Transfer Invite. You can add a message for the recipient. The invite expires after 72 hours.
The recipient reviews it#
The recipient signs in with that email and picks one of their own workspaces to receive the project. They see the names of the project's environment variables, but never the values.
Decide on secrets#
To start with fresh secrets, the recipient ticks Clear all env vars on accept. Every variable is then deleted, and deploys fail until they add the values again. If they leave it unticked, the variables move with the project unchanged.
Accept or decline#
The recipient clicks accept or decline.
When the recipient accepts:
- Every environment in the project is stopped.
- Environments that ran on your own servers are detached. The new owner picks a server in their workspace, or uses Dokwe Cloud, before the next deploy.
- You're added to the receiving workspace as a Member, so you can still reach the project.
A project can have one pending transfer at a time, which you can cancel from the same section. You can't transfer to your own email.
Accepting a transfer takes the project offline until the new owner redeploys it.