Set Administrators as new groups' owner.

New groups created by manage_projects should be owned by the
Administrators group.

Change-Id: I8d5eb876c99db0fd1bc7043a1d5e076b69c3d9cf
Reviewed-on: https://review.openstack.org/17320
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan
2012-12-02 10:11:57 -08:00
committed by Jenkins
parent d7b5487680
commit 0f2a440ba0

View File

@@ -149,7 +149,7 @@ def get_group_uuid(gerrit, group):
uuid = _get_group_uuid(gerrit, group)
if uuid:
return uuid
gerrit.createGroup(group)
gerrit.createGroup(group, owner="Administrators")
uuid = _get_group_uuid(gerrit, group)
if uuid:
return uuid