OpenRailAssociation / github-org-manager

Manage a GitHub organization, its members, teams, repository permissions and more
Apache License 2.0
5 stars 2 forks source link

Handle repository collaborators #21

Closed mxmehl closed 2 months ago

mxmehl commented 2 months ago

The other big chunk of possible permissions is collaborators for single repositories.

In the philosophy of this tool, this shouldn't exist as the base entity is teams.

There probably is an API that searches for all external collaborators inside the org. This may reduce the number of total API requests as we can avoid checking all repos individually.

mxmehl commented 2 months ago

Just looking for external collaborators isn't enough. It's also about adding individuals with diverging rights to repos.

We will have to check these for every repo and compare them with the permissions coming from team membership.