我们为客户提供bitbucket私人仓库,作为灾难恢复策略的一部分,他们希望能够访问代码库。有没有办法让repo的主分支可用,而无需访问所有的pull请求,提交和分支?
我可以在repo上设置一个只读访问权限的用户,但他们仍然可以查看所有内容并在pull请求等中发表评论。如果开发团队可以在那里自由评论并且原型代码或跟踪器是保密。
与客户/客户共享生产代码的最佳做法是什么?我可以与另一个bitbucket或github帐户共享一个分支吗?
答案 0 :(得分:0)
根据Atlassian documentation,读取权限授予以下内容:
View, clone, and fork the repository code. All public repositories
grant all Bitbucket Cloud users read permissions automatically.
Read access on a repository also allows users to create issues,
comment on issues, and edit wiki pages.
这听起来就像你想要的那样,除了它是那个回购中的所有分支,而不仅仅是主人。可能是提供公众'的唯一方式。您想要的视图是将主分支克隆到单独的仓库。 Atlassian没有提供权限的粒度来进一步微调它。因此,您需要一个流程来保持" public"掌握与真正的主人同步。