Skip to content

Commit fd2d377

Browse files
Update permission syncing docs for self-hosted code hosts (#722)
1 parent 82dcf96 commit fd2d377

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/docs/features/permission-syncing.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ We are actively working on supporting more code hosts. If you'd like to see a sp
4545

4646
## GitHub
4747

48-
Prerequisite: Configure GitHub as an [external identity provider](/docs/configuration/idp).
48+
Prerequisites:
49+
- Configure GitHub as an [external identity provider](/docs/configuration/idp).
50+
- **If you are using a self-hosted GitHub instance**, you must also set `AUTH_EE_GITHUB_BASE_URL` to the base URL of your GitHub instance (e.g. `https://github.example.com`).
4951

5052
Permission syncing works with **GitHub.com**, **GitHub Enterprise Cloud**, and **GitHub Enterprise Server**. For organization-owned repositories, users that have **read-only** access (or above) via the following methods will have their access synced to Sourcebot:
5153
- Outside collaborators
@@ -60,7 +62,9 @@ Permission syncing works with **GitHub.com**, **GitHub Enterprise Cloud**, and *
6062

6163
## GitLab
6264

63-
Prerequisite: Configure GitLab as an [external identity provider](/docs/configuration/idp).
65+
Prerequisites:
66+
- Configure GitLab as an [external identity provider](/docs/configuration/idp).
67+
- **If you are using a self-hosted GitLab instance**, you must also set `AUTH_EE_GITLAB_BASE_URL` to the base URL of your GitLab instance (e.g. `https://gitlab.example.com`).
6468

6569
Permission syncing works with **GitLab Self-managed** and **GitLab Cloud**. Users with **Guest** role or above with membership to a group or project will have their access synced to Sourcebot. Both direct and indirect membership to a group or project will be synced with Sourcebot. For more details, see the [GitLab docs](https://docs.gitlab.com/user/project/members/#membership-types).
6670

0 commit comments

Comments
 (0)