From d80b85643bb617e94af20b2ceea7fe7297041544 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Fri, 4 Apr 2014 16:48:08 -0400 Subject: [PATCH] Add acl overrides on stable branches for tripleo Allows tripleo-core's to +2/-2 and +A on stable branches. Allows all other users -1/+1 on stable branches. Change-Id: If62eab00698e0671cea1f79860d8088314339d5e --- .../gerrit/acls/openstack/tripleo-heat-templates.config | 5 +++++ .../gerrit/acls/openstack/tripleo-image-elements.config | 5 +++++ .../files/gerrit/acls/openstack/tripleo-incubator.config | 5 +++++ .../files/gerrit/acls/openstack/tuskar.config | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/modules/openstack_project/files/gerrit/acls/openstack/tripleo-heat-templates.config b/modules/openstack_project/files/gerrit/acls/openstack/tripleo-heat-templates.config index 423bb16601..464b91ea2f 100644 --- a/modules/openstack_project/files/gerrit/acls/openstack/tripleo-heat-templates.config +++ b/modules/openstack_project/files/gerrit/acls/openstack/tripleo-heat-templates.config @@ -7,6 +7,11 @@ label-Code-Review = -2..+2 group diskimage-builder-core label-Approved = +0..+1 group diskimage-builder-core workInProgress = group diskimage-builder-core +[access "refs/heads/stable/*"] + exclusiveGroupPermissions = label-Code-Review label-Approved + label-Code-Review = -2..+2 group tripleo-core + label-Code-Review = -1..+1 group Registered Users + label-Approved = +0..+1 group tripleo-core [access "refs/tags/*"] create = group tripleo-ptl pushTag = group tripleo-ptl diff --git a/modules/openstack_project/files/gerrit/acls/openstack/tripleo-image-elements.config b/modules/openstack_project/files/gerrit/acls/openstack/tripleo-image-elements.config index a7bf6e599c..d9b654f1e1 100644 --- a/modules/openstack_project/files/gerrit/acls/openstack/tripleo-image-elements.config +++ b/modules/openstack_project/files/gerrit/acls/openstack/tripleo-image-elements.config @@ -7,6 +7,11 @@ label-Code-Review = -2..+2 group diskimage-builder-core label-Approved = +0..+1 group diskimage-builder-core workInProgress = group diskimage-builder-core +[access "refs/heads/stable/*"] + exclusiveGroupPermissions = label-Code-Review label-Approved + label-Code-Review = -2..+2 group tripleo-core + label-Code-Review = -1..+1 group Registered Users + label-Approved = +0..+1 group tripleo-core [access "refs/heads/milestone-proposed"] label-Code-Review = -2..+2 group diskimage-builder-core label-Approved = +0..+1 group diskimage-builder-core diff --git a/modules/openstack_project/files/gerrit/acls/openstack/tripleo-incubator.config b/modules/openstack_project/files/gerrit/acls/openstack/tripleo-incubator.config index b5a4515bc6..4ee9677ae6 100644 --- a/modules/openstack_project/files/gerrit/acls/openstack/tripleo-incubator.config +++ b/modules/openstack_project/files/gerrit/acls/openstack/tripleo-incubator.config @@ -7,3 +7,8 @@ label-Code-Review = -2..+2 group tripleo-core label-Approved = +0..+1 group tripleo-core workInProgress = group tripleo-core +[access "refs/heads/stable/*"] + exclusiveGroupPermissions = label-Code-Review label-Approved + label-Code-Review = -2..+2 group tripleo-core + label-Code-Review = -1..+1 group Registered Users + label-Approved = +0..+1 group tripleo-core diff --git a/modules/openstack_project/files/gerrit/acls/openstack/tuskar.config b/modules/openstack_project/files/gerrit/acls/openstack/tuskar.config index 0b2c52f164..6fe8e97196 100644 --- a/modules/openstack_project/files/gerrit/acls/openstack/tuskar.config +++ b/modules/openstack_project/files/gerrit/acls/openstack/tuskar.config @@ -5,6 +5,11 @@ [access "refs/tags/*"] create = group tripleo-ptl pushTag = group tripleo-ptl +[access "refs/heads/stable/*"] + exclusiveGroupPermissions = label-Code-Review label-Approved + label-Code-Review = -2..+2 group tripleo-core + label-Code-Review = -1..+1 group Registered Users + label-Approved = +0..+1 group tripleo-core [receive] requireChangeId = true requireContributorAgreement = true