problem with branch permissions

we try to utilize branch permissions feature to allow some developers to commit changes to specific branch of the repository, but we run into problem, the following is what we did:

1. create project DEMO

2. create user ABC and assign him Observer permission to project DEMO

3. create branch DEMO-2a from DEMO

4. using Branch permissions, assign user ABC to branch DEMO-2a

here is what we got when user ABC tries to commit the changes to branch DEMO-2a

c: Program Files (x86) Git bin git.exe push --recurse-submodule=check --progress origin DEMO-2a:DEMO-2a

fatal: remote error: Insufficient permissions

You do not have permission to push to the repository DEMO in project DEMO

Are we miss anything? thanks!

1 answer

1 accepted

Branch permissions are working differently from what I have thought

when I add user XYZ to branch "DEMO-X" using branch permissions, all other users will not be able to write to that branch even though they have contributor permission to the project.

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,764 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