How many users can be given permission to a branch per repository?

Hi Team,

When trying to give permission to a user for a branch of a repository in Stash one of the user is getting this error.

"The maximum number of branch (100) permissions have already been defined for this repository"

Is there any limit to the number of branch permissions per repo? What can we do to over come this limitation? What should we do if we need to add more users?


Warm Regards,


1 answer

Did you define 100 branch restrictions with 1 user each or 1 branch restriction for 100 users?

You might want to try the other option. (The limit in the error above is either the users/branch restriction instance or the number of instances.)

EDIT: Example: image2015-3-17 9:6:9.png

Hi Balazs, How do we define the 100 branch restriction? We havent done any restriction. What is the other option we need to try ? Warm Regards, -Jewel

On the Branch Permissions page of the repository, you will see something like the screenshot I added to the answer above. In the example, I have two rules, the first one contains no users and two groups, the second one two users and one group. Check this page for your repository. How many rules do you have? How many users/groups do you have in the largest rule?

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