Search before asking
What happened
So some users report in Slack that they don't see their organizations showing up in the first column of the miller column in Config-UI.
The issue is that when Config-UI fetches GitHub orgs, it uses /users//orgs, which only list public organization memberships, regardless of authentication. To list all organizations (public and private) for the authenticated user, we would have to use another endpoint /user/orgs .
GitHub API reference: https://docs.github.com/en/rest/orgs/orgs?apiVersion=2022-11-28#list-organizations-for-the-authenticated-user
What do you expect to happen
Config-UI list all organizations of an user regardless of whether the org membership is public or not.
How to reproduce
See above
Anything else
No response
Version
v0.15.0
Are you willing to submit PR?
Code of Conduct
Search before asking
What happened
So some users report in Slack that they don't see their organizations showing up in the first column of the miller column in Config-UI.
The issue is that when Config-UI fetches GitHub orgs, it uses /users//orgs, which only list public organization memberships, regardless of authentication. To list all organizations (public and private) for the authenticated user, we would have to use another endpoint /user/orgs .
GitHub API reference: https://docs.github.com/en/rest/orgs/orgs?apiVersion=2022-11-28#list-organizations-for-the-authenticated-user
What do you expect to happen
Config-UI list all organizations of an user regardless of whether the org membership is public or not.
How to reproduce
See above
Anything else
No response
Version
v0.15.0
Are you willing to submit PR?
Code of Conduct