Add config parameter to make new groups by default visible to all

Add a new Gerrit configuration parameter that controls whether newly
created groups should be by default visible to all registered users.

Groups that are visible to all registered users have the advantage that
people who want to become member of a group can see whom they need to
contact without bothering the Gerrit administrators with this. This is
why for some Gerrit installations by default all newly created groups
should be visible to all registered users. Users creating new groups
often forget to set the visibleToAll flag which is why having the
possibility to configure the default for a Gerrit server makes sense.
Group owners can still unset this flag if they don't want their group
to be visible to all registered users.

Change-Id: I95582a6752dfdaa244b22930c6c4a4006880c481
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-01-11 09:59:53 +01:00
parent 89136bc832
commit 4bbff70c22
2 changed files with 19 additions and 2 deletions

View File

@@ -1270,6 +1270,16 @@ using the property 'gitweb.pathSeparator'.
+
Valid values are the characters '*', '(' and ')'.
[[groups]]Section groups
~~~~~~~~~~~~~~~~~~~~~~~~
[[groups.newGroupsVisibleToAll]]groups.newGroupsVisibleToAll::
+
Controls whether newly created groups should be by default visible to
all registered users.
+
By default, false.
[[hooks]]Section hooks
~~~~~~~~~~~~~~~~~~~~~~