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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,745 views 1 5
Read article

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