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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,258 views 26 12
Join discussion

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