Annotation Interface RequiresAnyCapability
Annotation on
com.google.gerrit.sshd.SshCommand
or
com.google.gerrit.httpd.restapi.RestApiServlet
declaring a set of capabilities of which at least
one must be granted.-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Fall back to admin credentials.Scope of the named capabilities.
-
Element Details
-
value
String[] valueCapabilities at least one of which is required to invoke this action. -
scope
CapabilityScope scopeScope of the named capabilities.- Default:
CONTEXT
-
fallBackToAdmin
boolean fallBackToAdminFall back to admin credentials. Only applies to plugin capability check.- Default:
true
-