简体   繁体   English

允许Github Organization读取存储库

[英]Allow Github Organization to read repository

I have created a repository inside an Organization, and want to give all members of that organization access to read/fork the repository without making it public. 我在组织内部创建了一个存储库,并希望为该组织的所有成员提供访问权限,以便在不将其公开的情况下读取/分叉存储库。

Is that possible? 那可能吗?

I know we could add all members manually to a team called "All members" and then give that team access. 我知道我们可以手动将所有成员添加到名为“所有成员”的团队中,然后让该团队访问。 But the organization is large, with people quitting and starting all the time. 但是这个组织很大,人们一直在离开和开始。 I don't want to have to remember adding/removing people from this group. 我不想记得在这个群组中添加/删除人员。

I know this answer is a little late but you can actually do that by adjusting the default repository permission. 我知道这个答案有点晚,但你可以通过调整默认的存储库权限来实现。

  1. Go to your organisation on GitHub 在GitHub上访问您的组织
  2. Move to "Member privileges" 转到"Member privileges"
  3. Select your wanted option "Read" in "Default repository permission" 在“默认存储库权限”中选择所需选项"Read"

Note that this will apply to all of the repositories the organisation ownes. 请注意,这将适用于组织所拥有的所有存储库。 Also note that this rule only is applicable for members of the organisation and not for outside collaborators. 另请注意,此规则仅适用于组织成员,不适用于外部协作者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM