Is it possible to make Stash server read-only?

Hi all,

we're currently migrating from an existing Stash (3.7.1) instance to our new Bitbucket Data Center (4.0.4) instance. We'd like to keep the Stash instance around in read-only mode for a while. Is is possible?

Thanks in advance for your support,
Georg 

2 answers

1 accepted

0 vote
Mikael Sandberg Community Champion Mar 10, 2016

Yes, just change the permission to read-only on each project/repository. 

Thanks Mikael. We're talking about roughly 600 repos here. I was hoping there was a central configuration item we could use for that. And then we could of course utilize the REST API to automate this. Any other suggestions?

Mikael Sandberg Community Champion Mar 11, 2016

Yes, it would be nice of you could do it using a global setting, but currently the option is to do it on each repo or use REST API to do it, and in your case I would probably go with the REST API option. There is an issue opened for it, BSERV-2792, so maybe in not to distant future we will see this option.

Thanks again, Mikael. I've upvoted BSERV-2792. We'll most likely go with the REST API option, then.

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