gitpod-io / gitpod

The developer platform for on-demand cloud development environments to create software faster and more securely.
https://www.gitpod.io
GNU Affero General Public License v3.0
12.75k stars 1.22k forks source link

Some user's only see _private_ repos in the "New Project" wizard #16649

Closed geropl closed 4 months ago

geropl commented 1 year ago

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

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))
stale[bot] commented 1 year ago

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.