10

in my Company, we've got a lot of repositories in one private github organization (not accessible publically). Ideally, all developers should have read access to all repos in that organization, while just having write access to the repositories of their project.

For that, I've set up a couple of github teams (for each project). Each of that teams should have write access for some repositories (easy to configure in the repo settings) but read access for all other repositories. I'm struggling with this one, as I can only grant read access to each individual repository. This is not only painful (because we have a lot of repositories) but will also not automatically work when new repos are created.

Is there anything, I'm missing to set this up properly?

Thanks, Matthias

4

2 回答 2

1

您只需要手动执行此操作,因为 github 不提供此功能。

于 2022-01-03T08:10:33.543 回答
-3

我相信默认情况下组织内的所有团队成员都将具有只读访问权限(他们可以读取和克隆存储库)。

如果您想向某些团队授予写入权限,而不是转到 repo 设置,请在团队设置中进行配置。试试这个,也许它会工作:

  • 创建团队,添加成员

  • 在相应选项卡中添加存储库,您希望为其提供对团队的写入访问权限

  • 在设置下,授予写入权限(这将适用于上面添加的针对团队的存储库)
于 2015-09-30T22:57:14.450 回答