简体   繁体   English

在BitBucket中控制对官方存储库的访问

[英]Controlling Access to Official Repository in BitBucket

Is it possible in Bitbucket to restrict access to the official repository for developers, yet still allow them to branch and create pull requests? Bitbucket中是否可以限制开发人员对官方存储库的访问,但仍然允许他们分支和创建请求请求?

I'd like to restrict write/pull access to a few senior team members, so they have control over the official repo, and not allow other devs to accidentally push to that repo. 我想将写/拉访问权限限制为一些高级团队成员,这样他们就可以控制正式的回购协议,并且不允许其他开发人员不慎将其推入该回购协议。 Another benefit would be that it would force developers to branch each time they worked on a feature. 另一个好处是,它将迫使开发人员在每次使用功能时都进行分支。

I'm new to git and bitbucket, so I'm open to other ideas on how to control this. 我是git和bitbucket的新手,所以我对如何控制它也持开放态度。

Did you try the settings in https://bitbucket.org/ {user}/{repo}/admin/access? 您是否尝试过https://bitbucket.org/ {user} / {repo} / admin / access中的设置?

I'm pretty sure if you set the user to read they can fork and create pull requests and then your seniors with the write permission could do the merging. 我很确定,如果您将用户设置为读取,则可以进行分叉并创建请求请求,然后具有写许可权的上级可以进行合并。

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

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