Does pushing via SSH access keys ignore the new branch permissions?

One of the annoying problems with branch permissions prior to Stash v3.10 was that they would prevent write operations to those branches when access was made through one of the project SSH Access Keys.

For example, I had a branch permission to prevent tag deletion:

    refs/tags/*

But this also prevented my build server from pushing new tags up, even though my build server does not use a user account but instead writes to the repo using the project-defined SSH Access Key.

Will the new branch permissions in Stash respect and ignore access made through access keys?

1 answer

1 vote

Branch permissions in Stash 3.10 still behave in the same way as in prior versions, in that they will prevent writing to a branch/tag if a "Limit write access" permission is set up. 

There is currently no option to allow SSH Access Keys to bypass any set branch permissions. 

You can watch and vote for the issue STASH-5009. If there are any updates on availability for this functionality will be notified there.

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...

712 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