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
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Generate a personal access token for a user in GitHub Enterprise Server that is an Enterprise Member as defined here
Use the personal access token to create a code host connection in Sourcegraph.
Choose the "affiliated" repositoryQuery to specify what repositories the user has access to.
Expected behavior:
The use of the personal access token of an Enterprise Member as well as using the repositoryQuery key and affiliated value would pull in all of the public repositories in a GitHub Enterprise Server instance (regardless if the user belonged to an organization) as well as all of the internal repositories in addition to the private repositories it should have access to. This behavior is based on the repo visibility rules expressed by GitHub Enterprise here.
Actual behavior:
Sourcegraph currently only pulls in the public repos on the instance that do not belong to an organization, public repos that belong to the organizations that the user is in and private repositories that the user has been given explicit access to.
Steps to reproduce:
Expected behavior:
The use of the personal access token of an Enterprise Member as well as using the
repositoryQuerykey andaffiliatedvalue would pull in all of the public repositories in a GitHub Enterprise Server instance (regardless if the user belonged to an organization) as well as all of the internal repositories in addition to the private repositories it should have access to. This behavior is based on the repo visibility rules expressed by GitHub Enterprise here.Actual behavior:
Sourcegraph currently only pulls in the public repos on the instance that do not belong to an organization, public repos that belong to the organizations that the user is in and private repositories that the user has been given explicit access to.
/cc @sourcegraph/source