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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user