Give access on one repo to all members of an organization #23250
-
Is there a way to designate a single repo to be writeable for all members of the organization (w/o setting a base permission that affects all repos)? It looks to be a fairly basic requirement and thus it must be there somewhere just that I cannot find it. 😦 Having/Setting up an automatic “Everyone” team (see the How to create a team containing all members of an org? issue) would be a way, but it seems to be “pending”. Adding people individually won’t cut it, because of the maintenance burden. What is the doable way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @fastcatch, Thank you for being here! Team synchronization is available for organizations using GitHub Enterprise Cloud. Check out: https://developer.github.com/v3/teams/members/#add-or-update-team-membership for more info. Otherwise, as you mentioned, you could add all members of your org to a team using our API see: https://developer.github.com/v3/teams/#create-team and then via the one single repository’s settings, or using our API add that team’s permissions to the read only or single repo: https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-repository. That would allow you to simply add another user to the team in future to give them the same level of access. I hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi @fastcatch,
Thank you for being here! Team synchronization is available for organizations using GitHub Enterprise Cloud.
Check out: https://developer.github.com/v3/teams/members/#add-or-update-team-membership for more info.
Otherwise, as you mentioned, you could add all members of your org to a team using our API see: https://developer.github.com/v3/teams/#create-team and then
via the one single repository’s settings, or using our API add that team’s permissions to the read only or single repo: https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/managing-team-access-to-an-organization-repository. That would allow you to simply add another user to the team…