commit | 05975dd6c8ca44de2e01cede16a94df49a3a825f | [log] [tgz] |
---|---|---|
author | Jonathan Nieder <jrn@google.com> | Thu Oct 31 12:23:25 2013 -0700 |
committer | Jonathan Nieder <jrn@google.com> | Thu Oct 31 12:24:38 2013 -0700 |
tree | 93fcde0e065ff472373dc2cc698ec1cf78608e44 | |
parent | eaeb1862180782bd5f696c79379a909dce7320b7 [diff] |
"repo download" supports authentication Override isAuthSupported to ensure "repo download" download commands are shown even for changes that are not visible to anonymous users. Change-Id: Ie9ee653508c4cd9b4cd85d1756ab657c7b3f7d1e
diff --git a/src/main/java/com/googlesource/gerrit/plugins/download/scheme/RepoScheme.java b/src/main/java/com/googlesource/gerrit/plugins/download/scheme/RepoScheme.java index 9147d12..7397b0a 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/download/scheme/RepoScheme.java +++ b/src/main/java/com/googlesource/gerrit/plugins/download/scheme/RepoScheme.java
@@ -45,4 +45,9 @@ public boolean isAuthRequired() { return false; } + + @Override + public boolean isAuthSupported() { + return true; + } }