Add ADD_PATCH_SET logic to lock patch sets

I've added a new permission to distinguish between creating a change and
adding new patch sets. This is intended for projects that want to
restrict the upload of new patch sets to the change owner (or any other
group).

Change-Id: If9f9f7ed0f0890fb4b854d0bf71e546ebe43ef96
This commit is contained in:
Patrick Hiesel
2016-06-14 12:34:51 +02:00
parent a008aa9428
commit 26518696c0
15 changed files with 324 additions and 16 deletions

View File

@@ -120,6 +120,7 @@ addPermission = Add Permission ...
# Permission Names
permissionNames = \
abandon, \
addPatchSet, \
create, \
deleteDrafts, \
editHashtags, \
@@ -141,6 +142,7 @@ permissionNames = \
viewDrafts
abandon = Abandon
addPatchSet = Add Patch Set
create = Create Reference
deleteDrafts = Delete Drafts
editHashtags = Edit Hashtags