Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions docs/admin/permissions/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ Sourcegraph's GraphQL API allows users to explicitly set repository permissions.

## Permissions mechanisms in parallel

> Feature is in Experimental stage and is supported up to Sourcegraph 5.0

> NOTE: Up to version 5.0, if the Explicit permissions API is enabled, all the other repository permissions mechanisms are disabled. If you're using Sourcegraph with multiple code hosts, it's not possible to use the explicit permissions API for one code host and use other mechanisms for getting permissions for others.

If you want to use explicit permissions API alongside synced permissions, read section [permission mechanisms in parallel here](/admin/permissions/#permissions-mechanisms-in-parallel).
If you want to use explicit permissions managmeent alongside permissions synchronised from code hosts, read section [permission mechanisms in parallel here](/admin/permissions/#permissions-mechanisms-in-parallel).

## Recommendations

Expand Down
5 changes: 2 additions & 3 deletions docs/admin/permissions/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,8 @@ might become an impossible task if the site admin cannot access that repository.
(Experimental)
<span class="badge badge-note">Sourcegraph 5.0+</span>

Up to version 5.0 it was not possible to use explicit permissions API alongside permission syncing.
Meaning, if explicit permissions API was turned ON, synced permissions were turned OFF. Which also meant it was
impossible to use explicit permissions for one code host and synced permissions for another one on the same Sourcegraph instance.
You can use the [explicit permissions API](/admin/permissions/api) alongside code host permission syncing.
This allows you to configure explicit permissions for one code host while using synced permissions for another on the same Sourcegraph instance.

**Example**:

Expand Down