As reported by multiple people (@lucasvaltl , @nandajavarma , @easyCZ 9 on an Dedicated test installation, they cannot register the "gitpod" project because they see only private repos of the GitHub org "gitpod-io", but the "gitpod" repo is public. Other's (@geropl ) could add it as expected on first try.
we first suspected the GitHub token to be missing scopes, but it did seem to work: Nandaja could see all her other Orgs public repos, plus all private ones from the "gitpod-io" org, which is a weird mix in the first place.
Lists repositories that the authenticated user has explicit permission (:read, :write, or :admin) to access.
The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
## H2: GitHub permission structure different, which affects `listForAuthenticatedUser`
- It just occurred that Gero has direct write access, while the other inherit it from a GitHub Team "Team" ([link](https://github.com/orgs/gitpod-io/teams/product-engineering/members))
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
As reported by multiple people (@lucasvaltl , @nandajavarma , @easyCZ 9 on an Dedicated test installation, they cannot register the "gitpod" project because they see only private repos of the GitHub org "gitpod-io", but the "gitpod" repo is public. Other's (@geropl ) could add it as expected on first try.
Internal thread
Summary
H1: wrong scope in GitHub token
we first suspected the GitHub token to be missing scopes, but it did seem to work: Nandaja could see all her other Orgs public repos, plus all private ones from the "gitpod-io" org, which is a weird mix in the first place.
we're using
/user/repos
to list those repos (doc)The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.