Set user permissions

Apologies if I will be unclear in my explanation, but I am not yet abreast with the source control stuff.

So far I have always worked on my own on a project; a friend of mine is now joined. 

I've created a branch from him, but I am not sure how I can setup permissions in a way he can read-write only on his branch (assuming this is possible) thus leaving me the control to "merge" the code once approved.

Is this possible in BitBucket?

Thanks

Andrea

4 answers

Hi Andrea!

As mentioned by Seth, we recommend that you do this at Bitbucket, as described in https://confluence.atlassian.com/display/BITBUCKET/Branch+management. This will allow you to prevent your team-mate from pushing to specified branches and instead require her to file a Pull Request to ask you to merge her code.

SourceTree only manages your local repository, Bitbucket would be the place to do it, if it is possible. I'm going to remove the "sourcetree" tag from your question.

Thanks John, that was the article I was looking at smile

Did test the solution, but now it asks my password too, and it doesn't accept the one I use to log in in BitBucket. Any reason for this?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

67 views 2 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you