Don't require AdministrateCheckers capability for listing pending checks

Every user should be able to list pending checks, but the REST endpoint
should only returns checks on changes that are visible to the caller.

This means when we execute the change query of the checker we must
filter out non-visible changes. To do this we must use
ChangeQueryProcessor instead of InternalChangeQuery to execute the
query.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Id6a13154798150d29512afb87150eab637b1826d
4 files changed
tree: b3211e2e6e379f43e3678fb7f40fe8f3b635ada3
  1. java/
  2. javatests/
  3. src/
  4. BUILD
  5. LICENSE
  6. README.md
README.md

Gerrit Code Review Checks Plugin

This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.