How do i set branch permissions for a user in bitbucket server?


I installed Bitbucket Server and trying to setup new repositories with multiple branches. I created multiple users and trying to add them to branch permissions option in a repository. Except me i am unable to find any other uder i just added. Please let me know if i have to do anything else to find user in add permissions option in branch permission. 

3 answers

1 vote

Hi @sravan kumar velagapuni,

the user and group picker in the branch permissions administration screen will only show users and groups that have at least read level access to the repository.

You should make sure that the users you are trying to add either:

  1. are part of a group that has access to the repository
  2. have been granted explicit access to the repository

Check out this KB article linking to the different levels of permissions in Bitbucket Server.

I hope that helps, 


0 vote

Branch permissions are actually restrictions. Are those users already added under repository level or project level?

You are restricting access to certain users when they are added under branch permissions.

0 vote

Hi Sravan

You will only be able to select users who have read/write access to the repository. In repository permissions/project permissions, check that the new users you created have access to the repo. Then add branch level permissions.

For example, if stash-users group has user-1, user-2, user-3 and the group has read/write access to Repo-A, then you can set branch level permissions to user-1, user-2, user-3.

If only user-3 has read/write access to Repo-A, then you will only be able to set branch level permissions to user-3 and not user-1 and user-2.

From what you are describing, the users you have created do not have read/write permissions to your repository. Fixing that should resolve your issue.



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