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

635 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