You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/rbac.md
+11-17Lines changed: 11 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,13 @@ title: Control administrative access
3
3
description: Using the role-based authorization feature (RBAC) of CodeRabbit
4
4
---
5
5
6
-
CodeRabbit uses role-based authorization control (RBAC) to control which
7
-
administrative features are available to your organization's user accounts.
6
+
You can control which CodeRabbit
7
+
administrative features are available to your organization's user accounts by using
8
+
role-based access control (RBAC).
8
9
9
10
## Overview of CodeRabbit RBAC {#overview}
10
11
11
-
Every CodeRabbit account has exactly one CodeRabbit RBAC role for each organization
12
+
Every CodeRabbit account has exactly one RBAC role for each organization
12
13
that account is associated with.
13
14
For example, if you belong to two GitHub-based organizations that use
14
15
CodeRabbit, then you have one CodeRabbit RBAC role set for each of those two
@@ -30,14 +31,6 @@ organization.
30
31
For a complete list of the administrative functions available to each role, see
31
32
[Role permissions](#permissions).
32
33
33
-
### RBAC roles and CodeRabbit features {#and-features}
34
-
35
-
RBAC roles have no effect on using CodeRabbit features, such
36
-
as automated code reviews. In other words, if an organization has a Pro-tier
37
-
CodeRabbit account, then all its users can use Pro-tier features when working
38
-
with that organization's repositories, regardless of their CodeRabbit RBAC roles with
39
-
that organization.
40
-
41
34
### CodeRabbit roles and Git platform roles {#and-upstream}
42
35
43
36
Modifying an account's CodeRabbit RBAC role doesn't have any "upstream"
@@ -48,9 +41,15 @@ affect that account's CodeRabbit RBAC role.
48
41
For example, if you have CodeRabbit integrated with a GitHub organization, and you change an account's CodeRabbit role from **Member** to **Admin**, then that account's
49
42
permission or ownership level with your GitHub organization doesn't change as a result.
50
43
44
+
### CodeRabbit roles and developer features {#and-features}
45
+
46
+
CodeRabbit RBAC roles have no effect on using CodeRabbit developer features, such
47
+
as automated code reviews. In other words, if an organization has a Pro-tier
48
+
CodeRabbit account, then all developers working with its repositories can use Pro-tier features, regardless of RBAC.
49
+
51
50
## Default RBAC roles {#defaults}
52
51
53
-
CodeRabbit assigns every user in your Git platform organization a default RBAC role,
52
+
CodeRabbit assigns every user account in your organization a default RBAC role,
54
53
using the following metrics:
55
54
56
55
- If a user has an ownership-level role with the Git platform organization—for example,
@@ -75,9 +74,7 @@ following sections.
75
74
To view a list of your organization's RBAC role assignments, follow these steps:
76
75
77
76
1. Go to the [CodeRabbit dashboard](https://app.coderabbit.ai/settings/repositories).
78
-
79
77
1. At the top of the sidebar, select the organization whose user roles you want to view.
80
-
81
78
1. On the sidebar, click **Subscription**.
82
79
83
80
This displays a table of all of the CodeRabbit **Admin** and **Member** accounts associated with the selected
@@ -96,7 +93,6 @@ To change a user account's RBAC role, follow these steps:
96
93
97
94
1. Go to your organization's list of user accounts, as detailed in the previous section.
98
95
If you have the **Admin** role within this organization, then the **Role** column in the user accounts table contains selectable menus.
99
-
100
96
1. Click the menu in the user's **Role** column, and select the appropriate role from
101
97
the list.
102
98
@@ -108,9 +104,7 @@ You can't grant the **Billing Admin** role to an existing user account. To add a
108
104
To add a CodeRabbit user account with the **Billing Admin** role, follow these steps:
109
105
110
106
1. Go to your organization's list of user accounts, as detailed in [View roles](#view-roles).
111
-
112
107
1. Click **Invite Billing Admin**.
113
-
114
108
1. Enter the name and email address of the billing administrator who you want to invite to the organization.
115
109
116
110
This sends an email to the address that you specified. After the recipient completes the process of joining your organization in CodeRabbit, then their record appears in the user accounts list, under the **Billing Admins** tab.
0 commit comments