Skip to content

Add setting that allows admins to choose which Git access protocols are enabled.

Patricio Cano requested to merge allow-disabling-of-git-access-protocol into master

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)

Screen_Shot_2016-06-16_at_12.26.19_PM Screen_Shot_2016-06-20_at_4.24.54_PM

/cc @jschatz1 this MR touches the UI. Please review.

Merge request reports