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

This widget could not be displayed.

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 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,315 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