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

# Role-based access

> Control access to CodeRabbit administrative features by assigning Admin, Member, or Billing Admin roles to organization users.

Admin Only (Members do not have access to Roles and permissions. Admin and Billing Admin users can view this page. Only Admin users can change built-in roles or edit permission matrices for custom roles.)

Control access to CodeRabbit administrative features through role-based permissions. Assign appropriate roles to team members based on their administrative responsibilities.

## Overview of CodeRabbit roles

Every CodeRabbit account has exactly one role per organization. Each role determines access to billing, account management, and administrative functions.

> [card] Admin
>
> Full read/write access to all administrative features, including billing,
> seat management, Audit Logs, and role management.

> [card] Member
>
> No access to **Subscription and Billing**, **Audit Logs**, **Roles and permissions**, or **Team Management**. Members can use developer features according to their seat assignments.

> [card] Billing Admin
>
> Read/write access to **Subscription and Billing**, including increasing purchased seat capacity. No access to **Team Management** or individual seat assignments. Can view **Audit Logs** and **Roles and permissions**, but cannot change user roles or edit permission matrices.

> [!WARNING]
>
> CodeRabbit roles are independent from Git platform roles (GitHub, GitLab,
> etc.). Changing a CodeRabbit role doesn't affect Git platform permissions, and
> vice versa.

> [!TIP]
>
> Admins and Members can access developer features like code reviews based on their seat assignments. Billing Admins cannot be assigned seats and do not consume seat capacity.

For complete administrative functions by role, see [Role permissions](#role-permissions).

## Default roles

CodeRabbit automatically assigns default roles based on Git platform permissions:

> [card] Admin (default)
>
> Users with ownership-level Git platform roles (GitHub Admin, Bitbucket
> Owner) receive the Admin role

> [card] Member (default)
>
> All other users receive the Member role by default

> [!NOTE]
>
> Default assignments happen only during initial account setup. Subsequent Git
> platform changes don't affect CodeRabbit roles.

You can modify roles after initial assignment if you have Admin privileges.

## Manage user roles

### View current roles

**1. Access CodeRabbit dashboard**

Go to the [CodeRabbit
dashboard](https://app.coderabbit.ai/settings/repositories).

**2. Select your organization**

Choose the organization from the sidebar dropdown.

**3. Navigate to Subscription**

Click **Subscription** in the sidebar.

The main table shows Admin and Member accounts with their current roles. Click the **Billing Admins** tab to view billing administrators.

### Change user roles

> [!NOTE]
>
> You must have the Admin role to modify other users' roles.

**1. Access the user accounts table**

Follow the steps above to reach your organization's Subscription page.

**2. Update the role**

Click the dropdown in the user's **Role** column and select the new role.

You can only assign Admin and Member roles through this method. Billing Admin requires a separate invitation process.

### Add billing administrators

> [!NOTE]
>
> Billing Admin users cannot be assigned seats and do not consume seat licenses. Invite them regardless of available seats.

**1. Access user management**

Navigate to your organization's Subscription page as described above.

**2. Send invitation**

Click **Invite Billing Admin**.

**3. Enter details**

Provide the name and email address of the billing administrator.

The invited user will receive an email to complete setup. Their account appears under the **Billing Admins** tab after activation.

> [!NOTE]
>
> Once a `Billing Administrator` has been successfully invited, they should use the following login process:
>
> 1. Navigate to the [Sign in with email](https://app.coderabbit.ai/sign-in-with-email) page.
> 2. Enter tenant name and email address.
> 3. A login pass should be received via email.
> 4. Use this login pass to access the account.
>
> Save the sign-in link for future use whenever a new login pass needs to be requested. If the login page does not load properly, clear the browser cache or try using an Incognito window.

## Role permissions

Administrative functionality available by role:

| Resource | Admin | Member | Billing Admin |
| - | - | - | - |
| Learning Resources (Web Interface) | Read/Write | Read/Write | Read/Write |
| Metrics/Dashboard | Read/Write | Read/Write | Read-only |
| Reports | Read/Write | Read/Write | Read/Write |
| Integrations | Read/Write | Read/Write | Read/Write |
| Repository Settings | Read/Write | Read/Write | No access |
| Organization Settings | Read/Write | Read-only | Read-only |
| Team Management | Read/Write | Read-only | No access |
| Subscription and Billing | Read/Write | No access | Read/Write |
| Roles and permissions | Read/Write | No access | Read-only |
| Audit Logs | Read-only | No access | Read-only |

Admins and Billing Admins can buy Enterprise seat capacity from **Account → Billing** using **Add seats**. Only Admins can access **Team Management** to assign or unassign seats. For confirmation steps, quarterly invoicing, and the contract-term commitment, see [Enterprise seat true-up](https://docs.coderabbit.ai/management/enterprise-seat-true-up.md).

> [!NOTE]
>
> All users can manage learnings through pull request comments regardless of
> role. The Learning Resources permissions apply only to web interface
> management.

## API reference Enterprise Plan (This feature is available exclusively as part of the Enterprise plan. Please refer to our pricing page for more information about our plans and features.)

User roles can be managed programmatically using the REST API:

| Endpoint | Description |
| - | - |
| [`POST /v1/users/roles`](https://docs.coderabbit.ai/api/reference/change-roles) | Bulk assign or change roles for organization members |

For managing custom roles via API, see the [Custom roles API reference](https://docs.coderabbit.ai/management/custom-roles.md#api-reference).

## Custom roles Enterprise Plan (This feature is available exclusively as part of the Enterprise plan. Please refer to our pricing page for more information about our plans and features.)

Enterprise customers can create custom roles with granular permissions beyond the built-in Admin, Member, and Billing Admin roles. Custom roles let you define exactly what each role can access — from organization settings to reports, learnings, and team management features.

For full details on creating and managing custom roles, see [Custom roles and permissions](https://docs.coderabbit.ai/management/custom-roles.md).

## What's next

> [card] [Manage your subscription](https://docs.coderabbit.ai/management/billing.md)
>
> Manage purchased seat capacity, billing settings, and subscription details for your organization.

> [card] [Custom roles and permissions](https://docs.coderabbit.ai/management/custom-roles.md)
>
> Create custom roles with granular permissions for Enterprise organizations.


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