Annotation Type RequiresAnyCapability
-
@Target(TYPE) @Retention(RUNTIME) public @interface RequiresAnyCapability
Annotation oncom.google.gerrit.sshd.SshCommand
orcom.google.gerrit.httpd.restapi.RestApiServlet
declaring a set of capabilities of which at least one must be granted.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
fallBackToAdmin
Fall back to admin credentials.CapabilityScope
scope
Scope of the named capabilities.
-
-
-
Element Detail
-
value
String[] value
Capabilities at least one of which is required to invoke this action.
-
-
-
scope
CapabilityScope scope
Scope of the named capabilities.- Default:
- com.google.gerrit.extensions.annotations.CapabilityScope.CONTEXT
-
-