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 votes

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 votes

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
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

247 views 0 12
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