gerrit/gerrit-httpd
Edwin Kempin 13634e36ad Don't show 'Save for Review' button if refs/meta/config is not visible
When editing the access rights of a project users can save the
modifications for review, which creates a change for the
refs/meta/config branch that contains the modifications. Creating the
change is only possible if the refs/meta/config branch is visible and
the user has permissions to upload a change to this branch or is
project owner.

At the moment the 'Save for Review' is always shown for project
owners. However it is possible to setup access rights in such a way
that project owners can't see the refs/meta/config branch. In this
case trying to save access rights modifications for review fails.

This is similar to the issue that has been fixed in change Id52ec9.

Change-Id: I61cf091882b846101b2f83540b6806d1fd376588
Signed-off-by: Edwin Kempin <ekempin@google.com>
2016-12-02 09:27:48 +01:00
..
src Don't show 'Save for Review' button if refs/meta/config is not visible 2016-12-02 09:27:48 +01:00
BUCK Update Buck to latest version 2016-09-20 13:19:15 +02:00
BUILD bazel: generate the classpath in a file, for use with eclipse. 2016-11-14 23:23:56 -08:00