Set a description for the default Adminstrators group
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -152,6 +152,7 @@ public class GerritServer {
|
|||||||
final AccountGroup admin =
|
final AccountGroup admin =
|
||||||
new AccountGroup(new AccountGroup.NameKey("Administrators"),
|
new AccountGroup(new AccountGroup.NameKey("Administrators"),
|
||||||
new AccountGroup.Id(c.nextAccountGroupId()));
|
new AccountGroup.Id(c.nextAccountGroupId()));
|
||||||
|
admin.setDescription("Gerrit Site Administrators");
|
||||||
c.accountGroups().insert(Collections.singleton(admin));
|
c.accountGroups().insert(Collections.singleton(admin));
|
||||||
|
|
||||||
final SystemConfig s = SystemConfig.create();
|
final SystemConfig s = SystemConfig.create();
|
||||||
|
Reference in New Issue
Block a user