The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Michał Gawlik
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 _HQP468_
March 20, 2015

Thanks!

TAGS
AUG Leaders

Atlassian Community Events