blob: d8a9dd3af7d89970e3eabe49162ce93c8855de9f [file] [log] [blame]
Edwin Kempin40f31e52011-01-12 14:11:06 +01001prohibited by Gerrit
2====================
3
4This is a general error message that is returned by Gerrit if a push
5is not allowed, e.g. because the pushing user has no sufficient
6privileges.
7
8In particular this error occurs:
91. if you push a commit for code review to a branch for which you
10 don't have upload permissions (access right '+2 Upload permission'
11 in the link:access-control.html#category_READ['Read Access'] category)
122. if you bypass code review without sufficient privileges in the
13 link:access-control.html#category_pHD['Push Branch'] category
143. if you push a tag without sufficient privileges in the link:access-control.html#category_pTAG['Push Tag']
15 category
16
Edwin Kempind1a83692011-02-09 07:51:09 +010017For new users it happens often that they accidentally try to bypass
18code review. The push then fails with the error message 'prohibited
19by Gerrit' because the project didn't allow to bypass code review.
20Bypassing the code review is done by pushing directly to refs/heads/*
21(e.g. refs/heads/master) instead of pushing to refs/for/* (e.g.
22refs/for/master). Details about how to push commits for code review
23are explained link:user-upload.html#push_create[here].
24
Edwin Kempin40f31e52011-01-12 14:11:06 +010025
26GERRIT
27------
28Part of link:error-messages.html[Gerrit Error Messages]