Add setting that allows admins to choose which Git access protocols are enabled.
What does this MR do?
It allows admins to disable one of the two protocols for Git access. They can choose to enable just SSH, HTTP or allow both. If one of them is disabled, the clone URL in the project will show only the allowed protocol, and no dropdown to change protocols will be presented.
What are the relevant issue numbers?
Full implementation on GitLab's side for #18601 (closed)
GitLab Shell implementation: gitlab-shell!62 (merged)
GitLab Workhorse implementation: gitlab-workhorse!51 (merged)
Screenshots (if relevant)
/cc @jschatz1 this MR touches the UI. Please review.
Merge request reports
Activity
@patricio Add a changelog item
@patricio Add documentation please!
Reassigned to @patricio
Wow, I can't believe I missed the CHANGELOG and doc changes. I'll add them right away. Thanks for the review @DouweM!
Added 73 commits:
- ba9f1fc3...db66312c - 72 commits from branch
master
- 4e4f67fd - Add setting that allows admins to choose which Git access protocols are enabled
- ba9f1fc3...db66312c - 72 commits from branch
@jschatz1 I'm touching CSS now here, not only the UI. Could you please check that my changes are sane?
@axil I need to add documentation for this feature. Can you help me find the best place? I already added a small note on the Application Settings API documentation, since it will also be possible to change it from there.
Reassigned to @DouweM