Issue 2012: Can't push tags to gerrit
Status:  Duplicate
Merged:  issue 1048
Owner: ----
Closed:  Aug 2014
Reported by aj.d...@gmail.com, Jul 15, 2013
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:

What steps will reproduce the problem?
1. Create gerrit project
2. Add all related permissions (Push Annotated Tags, Push, Create References) on refs/tags/*
3. git push --tags

What is the expected output? What do you see instead?
Tags should be created, but I get this instead:

 ! [remote rejected] v1.1.10 -> v1.1.10 (prohibited by Gerrit)
 ! [remote rejected] v1.1.11 -> v1.1.11 (prohibited by Gerrit)
 ! [remote rejected] v1.1.13 -> v1.1.13 (prohibited by Gerrit)
(snip)

Please provide any additional information below.

Running gerrit 2.7rc1 on Ubuntu 13.04

Cheers
Jul 21, 2013
#1 coop4...@gmail.com
I get the same thing with gerrit 2.6.1 running on CentOS 6.2
Jul 21, 2013
#2 coop4...@gmail.com
Ha! Just solved it for me. I needed to grant admins the right to forge identities. I granted forging of both committer and author identities I was able to push tags. I don't know which one solved it for me though, since I made both changes at once.
Sep 12, 2013
#3 roman.bosak
The solution mentioned in comment #2 didn't worked for me. But I found another issue reporting basically the same with different solution - you need to give also 'Create Reference' permission to the person / group. See https://code.google.com/p/gerrit/issues/detail?id=1048
Sep 26, 2013
#4 coop4...@gmail.com
I think you need both. I had only the one.
Aug 25, 2014
Project Member #5 zaro0508
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 1048
Oct 7, 2014
#6 itl...@gmail.com
#2 worked for me, too.  I'm running Gerrit 2.5.1.