gerrit/gerrit-gpg
Luca Milanesio 5872780a5a Fix permissions checks on Gerrit API on current user
When the current user is using GerritApi, a new user object
with the same user-id of CurrentUser gets created on-the-fly.

Even though the user accountId is the same, the user instances
are different and will fail all the REST API permissions checks.

Turn instance checks with accountId checks to allow user to
execute GerritApi on themselves without the requirement of being
Gerrit administrators.

NOTE: GerritApi are mostly used in plugins, so this change allows
other plugins to function properly.

Change-Id: Iaeb204dda3791eb2757d89fe6bce6994c6305e04
2018-05-21 09:30:09 +01:00
..
src Fix permissions checks on Gerrit API on current user 2018-05-21 09:30:09 +01:00
BUILD Move default memory cache implementation out of H2 package 2018-05-14 13:09:55 +09:00