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

This widget could not be displayed.

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,238 views 8 11
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