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,

-Jewel

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 Join to answer
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...

649 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot