Added explanation for "prohibited by Gerrit" error

Added a documentation page that explains the
"prohibited by Gerrit" error in details.

Change-Id: I4205befc01d5d1f8e04af6f7c5398bb7428bc035
Signed-off-by: Edwin Kempin <edwin.kempin@gmail.com>
This commit is contained in:
Edwin Kempin 2011-01-12 14:11:06 +01:00 committed by Shawn O. Pearce
parent b4830d201b
commit 40f31e52d2
2 changed files with 21 additions and 0 deletions

View File

@ -17,6 +17,7 @@ Error Messages
* link:error-no-new-changes.html[no new changes]
* link:error-not-valid-ref.html[not valid ref]
* link:error-permission-denied.html[Permission denied (publickey)]
* link:error-prohibited-by-gerrit.html[prohibited by Gerrit]
* link:error-squash-commits-first.html[squash commits first]
* link:error-you-are-not-author.html[you are not author ...]
* link:error-you-are-not-committer.html[you are not committer ...]

View File

@ -0,0 +1,20 @@
prohibited by Gerrit
====================
This is a general error message that is returned by Gerrit if a push
is not allowed, e.g. because the pushing user has no sufficient
privileges.
In particular this error occurs:
1. if you push a commit for code review to a branch for which you
don't have upload permissions (access right '+2 Upload permission'
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']
category
GERRIT
------
Part of link:error-messages.html[Gerrit Error Messages]