gerrit/gerrit-pgm
Marco Miller 44cf8868e3 Fix disabling of git ssh 'download' scheme within DefaultCommandModule
Without this fix, corporate /global gerrit users (like ours) can still
use ssh despite the latter commands being disabled by instance admins.
That keeps the ssh door wide open, while only the http one shall work.
(Such deployments are then unable to restrain ssh traffic.)

Change Daemon and WebAppInitializer so they construct
DefaultCommandModule with the DownloadConfig singleton.

DefaultCommandModule can then use the latter to skip the binding of the
git ssh (receive and upload) commands, if ssh [download] scheme is
not enabled in gerrit.config.

Change-Id: Ica4e0ffeea1f34bc5411b6863a90fb0450c9e874
2015-06-30 11:10:05 -04:00
..
src Fix disabling of git ssh 'download' scheme within DefaultCommandModule 2015-06-30 11:10:05 -04:00
BUCK Merge branch 'stable-2.10' into stable-2.11 2015-03-16 14:10:54 +09:00