> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.golf/llms.txt
> Use this file to discover all available pages before exploring further.

# Users & Roles

> Invite people to a workspace, give them roles, define custom roles, and remove access.

Manage the users of a workspace in **Settings > Users**. Each user holds one or more roles, and each role gives a set of permissions. A user has the permissions of all their roles.

## Before you begin

* **View Users and Roles** to see the users, their roles, and the pending invitations.
* **Invite Users** to invite people, and to resend or revoke invitations.
* **Manage Users** to change roles and to remove users.
* **Define Roles** to create, change, and delete custom roles.

The [default roles](#default-roles) show which roles include these permissions.

## Invite people

1. Open **Settings > Users** and select **Invite User**.
2. In **Email Addresses**, enter one address per line, up to 50. Blank lines and duplicate addresses do not count.
3. Select one or more roles. Every address gets the same roles.
4. Select the send button, for example **Send 2 Invitations**.

You can select a role only when you hold all of its permissions. **View Own Sessions**, **Attribute Own Sessions**, and **Connect Your Harness** do not count, so you can invite a Contributor without these permissions.

Each person gets an email with a link that expires after 7 days. A person who is already a user of your organization gets no email: Agent Golf adds them to the workspace at once, with the roles that you selected. For what the invitee sees, see [Join from an invitation](https://docs.agent.golf/getting-started/create-account.md#join-from-an-invitation).

> [accordion] Invitation results
>
> The dialog shows how many invitations it sent and how many users it added. A failed address stays in **Email Addresses** with its reason, so that you can correct it and send again:
>
> | Reason | What to do |
> | - | - |
> | **Invalid email address** | Correct the address. |
> | **Already in this workspace** | Nothing. The person is already a user. |
> | **An invitation is already pending. Resend it from Pending Invitations.** | Select **Resend** in **Pending Invitations**. |
> | **The identity provider could not send the invitation. Try again.** | Send the invitation again. |
> | **Not sent: the request reached its time limit first. Try again.** | Send again. Agent Golf sent nothing to these addresses. |

## Pending invitations

The **Pending Invitations** table on **Settings > Users** lists each invitation that is not accepted yet, with its roles, the inviter, and the expiry date.

| Action | Use it when |
| - | - |
| **Resend** | The invitation is pending and did not expire. |
| **Invite again** | The invitation expired. Agent Golf sends a new one with the same roles. |
| **Revoke** | You want to cancel the invitation. Its link stops working. |

## People who join without an invitation

A person who signs in without an invitation, for example through SSO, joins only your organization. They show in [**Settings > Organization > Users**](#organization-users), not in the workspace. To add them to the workspace, [invite them](#invite-people). Agent Golf adds them at once, with the roles that you select.

A user who shows **No role** in **Settings > Users** joined the workspace without a role and has no access:

* To give access, use [**Change Roles**](#change-roles) and assign at least one role. The user then becomes active.
* To deny access, [remove the user](#remove-a-user).

Without an invitation, only two kinds of users get a role: the person who created the workspace, and users with the **Administer All Workspaces** organization permission. Both get Administrator.

## Change roles

1. In the user's row, select **Change Roles**.
2. Select or clear each role. Each change saves at once.
3. Select **Done**.

You can assign or remove a role only when you hold all of its permissions, except **View Own Sessions**, **Attribute Own Sessions**, and **Connect Your Harness**. The dialog does not show the Uplink role.

Every workspace keeps at least one Administrator, so Agent Golf refuses a change that removes the last one.

> [accordion] Change your own roles
>
> You can change your own roles. When you remove your last role with **Manage Users** and another Administrator exists, the dashboard asks you to confirm with **Remove Role**. After that, only another user who can manage users can restore your roles.

## Remove a user

1. In the user's row, select **Remove**.
2. Select **Remove User** to confirm.

The user loses access at once, and Agent Golf revokes their personal publishing keys. Their past sessions and attributions stay.

You cannot remove yourself or the last Administrator. You also cannot remove a user who is an Administrator of every workspace through an organization role. Change their roles in [**Settings > Organization > Users**](#organization-users) instead.

> [accordion] What the removed user sees
>
> A removed user who has the dashboard open sees **Access Removed**. When they belong to other organizations, they select one to continue. Otherwise, Agent Golf signs them out.

## Default roles

Every new workspace starts with these roles.

| Role | For | Permissions |
| - | - | - |
| Administrator | Full access to the workspace. You cannot change or delete this role. | All permissions. |
| Operator | Running Uplink, the GitHub integration, and user management. No sessions, no billing. | **View Pull Requests and Repositories**, **View Source Code**, **View Roadmap**, **View All Publishing Keys**, **Manage All Publishing Keys**, **View Uplink Instances**, **Manage Uplink Instances**, **View Uplink Keys**, **Manage Uplink Keys**, **Manage Integrations**, **View Users and Roles**, **Invite Users**, **Manage Users**, **Define Roles**, **View Contributor Identities** |
| Team Manager | Seeing the work of all users, without protected session content. | **View Own Sessions**, **View Team Activity**, **View Team Sessions**, **View Pull Requests and Repositories**, **View Source Code**, **View Roadmap**, **Manage Project Budgets**, **View Users and Roles**, **View Contributor Identities** |
| Contributor | Publishing and seeing your own sessions. | **View Own Sessions**, **Attribute Own Sessions**, **Connect Your Harness**, **View Pull Requests and Repositories**, **View Source Code**, **View Roadmap** |
| Viewer | Seeing team activity and pull requests. No publishing. | **View Own Sessions**, **View Team Activity**, **View Pull Requests and Repositories**, **View Source Code**, **View Roadmap** |
| Uplink | Uplink instances only. See [Uplink role](#uplink-role). | **Publish Telemetry**, **Rename Sessions** |

Of the user roles, only Administrator has **Reveal Team Session Content**, **Manage Cloud Uplink**, **Manage Remote MCP**, **View Billing**, **Manage Billing**, and **Delete Data**.

You can change the permissions of every role except Administrator and Uplink, so your workspace's roles can differ from this table. **Settings > Users > Roles** shows the current roles.

### Permissions

| Permission | Lets you |
| - | - |
| **View Own Sessions** | Open your own sessions and see their content. |
| **View Team Activity** | See every user's sessions and activity in lists and reports. |
| **View Team Sessions** | Open every user's sessions, without their protected content. |
| **Reveal Team Session Content** | See the protected content of every user's sessions, such as prompts and tool calls. See [Session content](https://docs.agent.golf/dashboard/sessions.md#session-content). |
| **Attribute Own Sessions** | [Link your own sessions to pull requests](https://docs.agent.golf/dashboard/attribution.md#link-a-session-by-hand). |
| **View Pull Requests and Repositories** | See the pull requests, the repositories, the **Code** page, and rework. |
| **View Source Code** | See the source of a file on the **Code** page. Agent Golf reads the file from GitHub and does not keep it. |
| **View Roadmap** | Let an [MCP client](https://docs.agent.golf/mcp/overview.md) read the roadmap and its work items. The [Roadmap](https://docs.agent.golf/linear/roadmap.md) page in the dashboard does not need it. |
| **Manage Project Budgets** | Set and remove the [budgets](https://docs.agent.golf/linear/project-budgets.md) of the initiatives and projects of the workspace. In the dashboard, you also need **View Team Activity**. See [Who can set and see budgets](https://docs.agent.golf/linear/project-budgets.md#who-can-set-and-see-budgets). |
| **Connect Your Harness** | Create, see, and revoke your own [publishing keys](https://docs.agent.golf/harnesses/overview.md#publishing-keys). Cloud Uplink accepts your keys only while you hold it. |
| **View All Publishing Keys** | See every user's publishing keys, without their secrets. |
| **Manage All Publishing Keys** | Revoke any user's publishing key. |
| **View Uplink Instances** | See the uplink instances, their metrics, and the state of [Cloud Uplink](https://docs.agent.golf/uplink/cloud.md). |
| **Manage Uplink Instances** | [Rename and remove uplink instances](https://docs.agent.golf/uplink/monitoring.md#remove-an-instance). |
| **View Uplink Keys** | See the Uplink keys, without their secrets. |
| **Manage Uplink Keys** | [Create and revoke Uplink keys](https://docs.agent.golf/uplink/install.md#create-an-uplink-key). |
| **Manage Cloud Uplink** | Turn Cloud Uplink on or off. |
| **Manage Remote MCP** | [Turn remote MCP access on or off](https://docs.agent.golf/mcp/administration.md#turn-remote-mcp-access-on-or-off), and revoke the MCP clients of every user of the workspace. |
| **Manage Integrations** | See the repositories that the GitHub App covers, and skip or undo the **Ask each user to link GitHub** setup step. To connect a [GitHub organization](https://docs.agent.golf/github/organization.md), you need **Manage Organization Integrations**. |
| **View Users and Roles** | See the users, their roles, each role's permissions, and the pending invitations. |
| **Invite Users** | Invite people, and resend and revoke invitations. |
| **Manage Users** | Change the roles of users and remove users. |
| **Define Roles** | Create, change, and delete custom roles. |
| **View Billing** | See the plan, the invoices, the usage, and the payment method. See [Billing](https://docs.agent.golf/account/billing.md). |
| **Manage Billing** | Change the plan, the payment method, the budget, and the other billing settings. |
| **Delete Data** | [Delete the workspace's usage data](https://docs.agent.golf/account/data-retention.md#delete-usage-data). |

**Rename Sessions**, **View Contributor Identities**, and **Link Contributor Identities** also show in the role dialog, but they give a user no access in the dashboard.

### Uplink role

Only an uplink instance can publish telemetry to Agent Golf, and only through the Uplink role. The role gives no dashboard access. You cannot give it to a user, invite a person with it, or change it, and no custom role can grant **Publish Telemetry**.

You assign no role to run Uplink. All the workspace's [Uplink keys](https://docs.agent.golf/uplink/install.md#create-an-uplink-key) act as one service user, **Uplink key**, and Cloud Uplink acts as its own service user, **Cloud Uplink**. Both hold the Uplink role and are not in the user list.

## Custom roles

Workspace roles and organization roles use the same **Roles** tab: **Settings > Users > Roles** for the workspace, and **Settings > Organization > Users > Roles** for the organization. You need **Define Roles** for workspace roles and **Define Organization Roles** for organization roles.

1. Select **Create Role**, or the pencil button in a role's row.
2. Enter a **Role Name** and, optionally, a **Slug** and a **Description**. The slug is a short code name of the role, for example `billing-viewer`. When you leave it empty, Agent Golf makes it from the name, and you cannot change it later. Users see the description below the role name when they assign roles.
3. Under **Permissions**, select the role's permissions. You can select only permissions that you hold.
4. Select **Save**.

To delete a role, select the trash button in its row, then **Delete Role**. The users with the role lose its permissions. The roles that show **Fixed** cannot change.

## Organization users and roles

An organization holds one or more workspaces, the organization users, and the billing account. Organization roles control the organization settings, and they can give access to all workspaces.

### Organization users

**Settings > Organization > Users** lists the organization's users with their **Organization Roles**, their number of **Workspaces**, and their **Status**. You need **View Organization Users** to see the page. With **Manage Organization Users**, you can also invite users with organization roles, change their roles, remove them from the organization and all its workspaces, and revoke pending invitations. You can grant or remove a role only when you hold all of its permissions, and the organization must keep one active Administrator.

### Organization roles

Every new organization starts with these roles:

| Role | Permissions |
| - | - |
| Administrator | All organization permissions. You cannot change or delete this role. |
| Billing Manager | **View Organization Billing**, **Manage Organization Billing**, **Manage Cost Centers** |
| Billing Viewer | **View Organization Billing** |

The organization permissions:

| Permission | Lets you |
| - | - |
| **Manage Organization** | Rename and delete the organization, and [require two-factor authentication](https://docs.agent.golf/account/two-factor.md#require-two-factor-authentication-for-an-organization). |
| **View Organization Users** | See the organization users, their roles, and each role's permissions. |
| **Manage Organization Users** | Invite users, change their organization roles, and remove users from the organization and all its workspaces. |
| **Define Organization Roles** | Create, change, and delete organization roles. |
| **Create Workspaces** | Create a workspace in the organization. |
| **Manage Workspaces** | Rename and delete the organization's workspaces. |
| **Administer All Workspaces** | Hold the Administrator role in every workspace of the organization, new workspaces included. |
| **View Organization Billing** | See the organization's plan, invoices, payment method, and the usage of all workspaces. |
| **Manage Organization Billing** | Change the organization's plan, payment method, budget, and other billing settings. |
| **Manage Organization Integrations** | [Connect and disconnect Linear](https://docs.agent.golf/linear/connect.md) and choose the Linear teams that Agent Golf imports. [Connect and disconnect Jira](https://docs.agent.golf/jira/connect.md) and choose the Jira spaces. [Connect, repair, and disconnect GitHub organizations](https://docs.agent.golf/github/organization.md). |
| **View Organization Sessions** | See every session of the organization, and open each one from a workspace of the organization. |
| **Reveal Organization Sessions** | See the protected content of every session of the organization. See [Session content](https://docs.agent.golf/dashboard/sessions.md#session-content). |
| **Delete Organization Data** | [Delete the data of the organization](https://docs.agent.golf/account/data-retention.md#delete-organization-data): the usage data of every workspace, and the pull requests, CI runs, and GitHub event data. |
| **Manage Cost Centers** | Create, rename, and delete the [cost centers](https://docs.agent.golf/account/cost-centers.md) of the organization, and map teams, initiatives, and projects to them. |
| **Manage Organization Uplink** | Create, list, and revoke the Uplink keys of the organization. Each key starts an uplink instance that receives the sessions of every workspace of the organization. Turn the Cloud Uplink instance of the organization on or off. |

A workspace cannot connect Linear, Jira, or GitHub. Every user of a workspace sees the imported Linear teams, the Jira spaces, and the GitHub organizations of the organization, read only, in **Settings > Integrations**.

## Contributors

A user is a person with access to the workspace or the organization. A session's contributor is the person who ran it, found from the publishing key that the harness sends. See [Contributor](https://docs.agent.golf/dashboard/sessions.md#contributor).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.