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

211 views 3 7
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