commit | 737aa43c9fc27dfdcd05997d4867eb75b410462d | [log] [tgz] |
---|---|---|
author | Thomas Dräbing <thomas.draebing@sap.com> | Thu Mar 21 14:36:32 2024 +0100 |
committer | Thomas Dräbing <thomas.draebing@sap.com> | Fri Mar 22 08:11:03 2024 +0000 |
tree | 6299da173a5d5657e7dc9b529c1dc4075866428e | |
parent | 61a1e13e2b7110203898d4da05f2e6e47647e3b3 [diff] |
Fix permission handling Users with MAINTAIN_SERVER capability were not able to get or change the read only state. The reason was, that the @RequireAnyCapability annotation does not support GlobalCapabilities provided by Gerrit core in plugins. This change fixes that by making an explicit permission check. Change-Id: Ie38143587b9bd8dad2fabb2107e3195f6a3c1a90