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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.