Merge branch 'stable-2.11'
* stable-2.11: Fix Lucene indexing for the reviewer suggestion Set version to 2.11.1 Release notes for Gerrit 2.11.1 Set VERSION to 2.10.4 Release notes for Gerrit 2.10.4 Update version to 2.10.4 Use in-memory Lucene index for a better reviewer suggestion Require 'View Plugins' capability to list plugins through SSH OAuth: Simplify protocol implementation Allow to link user identity to another OAuth provider Update JGit to the 4.0.0.201505050340-m2 version Fix typo in Apache 2 documentation Escape curly braces in 2.11 release notes Hybrid OpenID/OAuth: Support switching identities Hybrid OpenID/OAuth: Allow to link identity accross protocols OAuth: Check for session validity during logout Change-Id: I44690bd676b04449164f366e5e5d5f1365983ebc
This commit is contained in:
@@ -23,7 +23,7 @@ import com.google.gerrit.sshd.CommandMetaData;
|
||||
import com.google.gerrit.sshd.SshCommand;
|
||||
import com.google.inject.Inject;
|
||||
|
||||
@RequiresCapability(GlobalCapability.ADMINISTRATE_SERVER)
|
||||
@RequiresCapability(GlobalCapability.VIEW_PLUGINS)
|
||||
@CommandMetaData(name = "ls", description = "List the installed plugins",
|
||||
runsAt = MASTER_OR_SLAVE)
|
||||
final class PluginLsCommand extends SshCommand {
|
||||
|
||||
Reference in New Issue
Block a user