project-config/gerrit/acls/openstack/glance_store.config
Brian Rosmaita 389d7a4800 Add more permissions for 'glance-ptl' group
The glance-ptl group should be able to set review priorities,
abandon patches, and -2 and -W patches.

Change-Id: I6e9783c32d6296e746c7d3563e6d369d1bc55f83
2024-05-15 09:46:19 -04:00

56 lines
1.8 KiB
Plaintext

[access]
inheritFrom = openstack/meta-config
[access "refs/heads/*"]
abandon = group glance-core
abandon = group glance-ptl
abandon = group glance-reviewbot
abandon = group swift-core
label-Code-Review = -2..+1 group glance-ptl
label-Code-Review = -2..+2 group glance-core
label-Code-Review = -2..+2 group swift-core
label-Review-Priority = -1..+2 group glance-core
label-Review-Priority = -1..+2 group glance-ptl
label-Workflow = -1..0 group glance-ptl
label-Workflow = -1..0 group glance-reviewbot
label-Workflow = -1..+0 group swift-core
label-Workflow = -1..+1 group glance-core
[access "refs/heads/stable/*"]
abandon = group Change Owner
abandon = group Project Bootstrappers
abandon = group glance-ptl
abandon = group glance-stable-maint
abandon = group stable-maint-core
exclusiveGroupPermissions = abandon label-Code-Review label-Workflow
label-Code-Review = -2..+1 group glance-ptl
label-Code-Review = -2..+2 group Project Bootstrappers
label-Code-Review = -2..+2 group glance-stable-maint
label-Code-Review = -2..+2 group stable-maint-core
label-Code-Review = -1..+1 group Registered Users
label-Workflow = -1..+0 group Change Owner
label-Workflow = -1..+0 group glance-ptl
label-Workflow = -1..+1 group Project Bootstrappers
label-Workflow = -1..+1 group glance-stable-maint
label-Workflow = -1..+1 group stable-maint-core
[label "Review-Priority"]
copyCondition = changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE OR is:MAX OR is:MIN
defaultValue = 0
function = NoBlock
value = -1 Branch Freeze
value = 0 No Priority
value = +1 Important Change
value = +2 Top Priority / Holds Gate
[receive]
requireChangeId = true
requireContributorAgreement = true
[submit]
mergeContent = true
[submit-requirement "Review-Priority"]
description = Review priority
submittableIf = -label:Review-Priority=MIN