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

This widget could not be displayed.
Mikael Sandberg Community Champion Mar 10, 2016

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

This widget could not be displayed.

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