5872780a5a
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 |
||
---|---|---|
.. | ||
src | ||
BUILD |