Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to block pull/clone operations in Stash?

Michał Gawlik March 12, 2015

Hello,

We would like to make users to use mirror git repository and Stash just for pushes/pull requests.
There is simple method to implement listener, but it doesn't prevent from cloning/pulling from Stash.
Is it possible to block pull/clone operations in Stash (via both http and ssh)?

Thank you in advance

Michal

1 answer

1 accepted

1 vote
Answer accepted
TimP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 12, 2015

Hi Michal,

Sure thing! The ScmRequestCheck plugin module is what you're after. It's invoked for any clone/pull operation, over both HTTP and SSH.

cheers,

Tim

Michal Gawlik March 20, 2015

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events