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

0 votes
Accepted answer

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,945 views 7 10
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