I have been reading the bitbucket documentation and I am still confused about how to manage users well on my repo.
I want to give some developers the ability to pull and push to certain branches but not others, i.e. they can pull and push to a developer-master branch, but the final merges to the live master branch is something that only an admin can do.
In addition to this, I would love for this to require their own individual passwords, but not a password that gives them access to the entire repository. Right now a push requires only one password for the entire repository, which also gives them admin access to the entire bitbucket repository.
I did read the documentation but am still unclear on how to do this effectively. Help! :)
Go to settings of the repo and choose 'Branch Management'.
Here you can give write access to specific branches to any users or groups you want. All of the rest branches will have write access from all of the users and groups (who have write access in general).
Take the example of my repo named bqotd.
I have four branches in this repo: htmls, design, docs and master. I wanted to limit write access of our front-end developer to htmls branch only so I had to do this:
I had to give write access to everyday except FED to all of the branches other than htmls branch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With