You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Repo and Gerrit Discussion
We upgraded from Gerrit 3.3.9 to Gerrit 3.4.3 yesterday and our users
noticed they could no longer push signed tags to repositories. Gerrit
reported "You need 'Create Tag' rights to push a normal tag." despite
the tags being signed. In testing this we went ahead and added
createTag ACLs which did correct the problem and is serving as our
current workaround.
Digging into the code more I think I've identified why this is
happening on 3.4 and not on 3.3. Gerrit calls getFullMessage() on the
tag object and checks if the gpg header is in the result [0]. Newer
Jgit included in 3.4 but not 3.3 stopped including that information in
the getFullMessage() result [1] which means Gerrit 3.4 (and newer?)
will only ever check the createTag permission.
I've filed an issue [2] for this and pushed a change [3] that should
fix it. Though this change needs some testing which I'm trying to do
locally against one of our test Gerrit's in CI.
Calling this out on the mailing list in case anyone else runs into
this and needs a workaround. Also, hoping that I can get some help
fixing it properly in Gerrit :)