Is there a way to lock settings so only system admins can change them?

Because of PCI 3 compliance, my management team wants us to dictate that all teams use a workflow that does not allow direct pushes to any repo and requires that all groups and projects use pull requests and code reviews to merge code into master or release branches.

Is there a way to set this universally? Or is there a way to lock settings in repositories so that only system administrators (rather than project administrators) can change them?

1 answer

Stash has three 'tiers' of permissions, where you can set global, project-level or repo-level administration, read and write access to your repositories. You can also set up branch-specific permissions to prevent pushes by certain users/groups to specific branches.

It sounds like you want write-access to certain branches but only allow merges to master or release branches via pull request. We have an open feature request for this functionality, which you can vote for and watch for updates on our progress -

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

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

2,028 views 1 5
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