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
docs: update roles, access settings, and audit docs for multi-owner support
- Update roles-and-permissions to document multiple owners and
promote/demote workflows
- Update access-settings to use plural owner references
- Add new audit events: org.member_promoted_to_owner,
org.owner_demoted_to_member
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/docs/configuration/auth/access-settings.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,20 +17,20 @@ When accessing Sourcebot anonymously, a user's permissions are limited to that o
17
17
18
18
# Member Approval
19
19
20
-
By default, Sourcebot requires new members to be approved by the owner of the deployment. This section explains how approvals work and how
20
+
By default, Sourcebot requires new members to be approved by an owner of the deployment. This section explains how approvals work and how
21
21
to configure this behavior.
22
22
23
23
### Configuration
24
-
Member approval can be configured by the owner of the deployment by navigating to **Settings -> Access**, or by setting the `REQUIRE_APPROVAL_NEW_MEMBERS` environment variable. When the environment variable is set, the UI toggle is disabled and the setting is controlled by the environment variable.
24
+
Member approval can be configured by an owner of the deployment by navigating to **Settings -> Access**, or by setting the `REQUIRE_APPROVAL_NEW_MEMBERS` environment variable. When the environment variable is set, the UI toggle is disabled and the setting is controlled by the environment variable.
If member approval is enabled, new members will be asked to submit a join request after signing up. They will not have access to the Sourcebot deployment
31
-
until this request is approved by the owner.
31
+
until this request is approved by an owner.
32
32
33
-
The owner can see and manage all pending join requests by navigating to **Settings -> Members**.
33
+
Owners can see and manage all pending join requests by navigating to **Settings -> Members**.
Copy file name to clipboardExpand all lines: docs/docs/configuration/auth/roles-and-permissions.mdx
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,26 @@ Each member has a role which defines their permissions within an organization:
9
9
10
10
| Role | Permission |
11
11
| :--- | :--------- |
12
-
|`Owner`|Each organization has a single `Owner`. This user has full access rights, including: connection management, organization management, and inviting new members. |
12
+
|`Owner`|An organization can have one or more `Owner`s. Owners have full access rights, including: connection management, organization management, and inviting new members. |
13
13
|`Member`| Read-only access to the organization. A `Member` can search across the repos indexed by an organization's connections, as well as view the organizations configuration and member list. However, they cannot modify this configuration or invite new members. |
14
-
|`Guest`| When accessing Sourcebot [anonymously](/docs/configuration/auth/access-settings#anonymous-access), a user has the `Guest` role. `Guest`'s can search across repos indexed by an organization's connections, but cannot view any information regarding the organizations configuration or members. |
14
+
|`Guest`| When accessing Sourcebot [anonymously](/docs/configuration/auth/access-settings#anonymous-access), a user has the `Guest` role. `Guest`'s can search across repos indexed by an organization's connections, but cannot view any information regarding the organizations configuration or members. |
Organizations support multiple owners, allowing you to share administrative responsibilities across your team. Owners can promote members to owner and demote other owners back to member from **Settings -> Members**.
23
+
24
+
### Promoting a member to owner
25
+
26
+
To promote a member, click the action menu (three dots) next to their name in the members list and select **Promote to owner**. The member will immediately gain full administrative access.
27
+
28
+
### Demoting an owner to member
29
+
30
+
To demote an owner, click the action menu next to their name and select **Demote to member**. Owners can also demote themselves to step down from the role. The last remaining owner of an organization cannot be demoted — at least one owner must exist at all times.
31
+
32
+
### Leaving an organization as an owner
33
+
34
+
An owner can leave the organization as long as at least one other owner exists. If you are the last owner, you must promote another member to owner before leaving.
0 commit comments