Explain 'prohibited by Gerrit' error for pushing of lightweight tags

Pushing a lightweight tag to Gerrit fails with 'prohibited by Gerrit'
if the user does not have '+2 Create Branch' for 'refs/tags/*' in the
'Push Branch' category. This change adds an explanation for this case
to the 'prohibited by Gerrit' error description.

Change-Id: I5dd252a0844ef7d23ceaae0241878da4658789c8
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2011-03-09 07:15:17 +01:00
parent fdaa54f7fe
commit e6ac11fa00

View File

@@ -11,7 +11,10 @@ In particular this error occurs:
in the link:access-control.html#category_READ['Read Access'] category)
2. if you bypass code review without sufficient privileges in the
link:access-control.html#category_pHD['Push Branch'] category
3. if you push a tag without sufficient privileges in the link:access-control.html#category_pTAG['Push Tag']
3. if you push a signed or annotated tag without sufficient
privileges in the link:access-control.html#category_pTAG['Push Tag'] category
4. if you push a lightweight tag without the access right '+2 Create
Branch' for the reference name 'refs/tags/*' in the link:access-control.html#category_pHD['Push Branch']
category
For new users it happens often that they accidentally try to bypass