Missed Replay property of authorization matrix
Add support for Run.Replay property of authorization matrix Change-Id: I1101c6a15a7e9704a3eccf8f194da6280e54d172
This commit is contained in:
parent
51832b1881
commit
62b26140af
@ -406,6 +406,7 @@ def authorization(registry, xml_parent, data):
|
|||||||
* **job-workspace**
|
* **job-workspace**
|
||||||
* **ownership-jobs**
|
* **ownership-jobs**
|
||||||
* **run-delete**
|
* **run-delete**
|
||||||
|
* **run-replay**
|
||||||
* **run-update**
|
* **run-update**
|
||||||
* **scm-tag**
|
* **scm-tag**
|
||||||
|
|
||||||
@ -436,6 +437,7 @@ def authorization(registry, xml_parent, data):
|
|||||||
'job-workspace': 'hudson.model.Item.Workspace',
|
'job-workspace': 'hudson.model.Item.Workspace',
|
||||||
'ownership-jobs': ''.join((ownership, 'Jobs')),
|
'ownership-jobs': ''.join((ownership, 'Jobs')),
|
||||||
'run-delete': 'hudson.model.Run.Delete',
|
'run-delete': 'hudson.model.Run.Delete',
|
||||||
|
'run-replay': 'hudson.model.Run.Replay',
|
||||||
'run-update': 'hudson.model.Run.Update',
|
'run-update': 'hudson.model.Run.Update',
|
||||||
'scm-tag': 'hudson.scm.SCM.Tag',
|
'scm-tag': 'hudson.scm.SCM.Tag',
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
<permission>hudson.model.Item.Workspace:admin</permission>
|
<permission>hudson.model.Item.Workspace:admin</permission>
|
||||||
<permission>com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin.Jobs:admin</permission>
|
<permission>com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin.Jobs:admin</permission>
|
||||||
<permission>hudson.model.Run.Delete:admin</permission>
|
<permission>hudson.model.Run.Delete:admin</permission>
|
||||||
|
<permission>hudson.model.Run.Replay:admin</permission>
|
||||||
<permission>hudson.model.Run.Update:admin</permission>
|
<permission>hudson.model.Run.Update:admin</permission>
|
||||||
<permission>hudson.scm.SCM.Tag:admin</permission>
|
<permission>hudson.scm.SCM.Tag:admin</permission>
|
||||||
<permission>hudson.model.Item.Read:anonymous</permission>
|
<permission>hudson.model.Item.Read:anonymous</permission>
|
||||||
|
@ -17,6 +17,7 @@ properties:
|
|||||||
- job-workspace
|
- job-workspace
|
||||||
- ownership-jobs
|
- ownership-jobs
|
||||||
- run-delete
|
- run-delete
|
||||||
|
- run-replay
|
||||||
- run-update
|
- run-update
|
||||||
- scm-tag
|
- scm-tag
|
||||||
anonymous:
|
anonymous:
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
<permission>hudson.model.Item.Workspace:admin</permission>
|
<permission>hudson.model.Item.Workspace:admin</permission>
|
||||||
<permission>hudson.model.Item.Cancel:admin</permission>
|
<permission>hudson.model.Item.Cancel:admin</permission>
|
||||||
<permission>hudson.model.Run.Delete:admin</permission>
|
<permission>hudson.model.Run.Delete:admin</permission>
|
||||||
|
<permission>hudson.model.Run.Replay:admin</permission>
|
||||||
<permission>hudson.model.Run.Update:admin</permission>
|
<permission>hudson.model.Run.Update:admin</permission>
|
||||||
<permission>hudson.scm.SCM.Tag:admin</permission>
|
<permission>hudson.scm.SCM.Tag:admin</permission>
|
||||||
<permission>hudson.model.Item.Discover:anonymous</permission>
|
<permission>hudson.model.Item.Discover:anonymous</permission>
|
||||||
|
@ -9,6 +9,7 @@ properties:
|
|||||||
- job-workspace
|
- job-workspace
|
||||||
- job-cancel
|
- job-cancel
|
||||||
- run-delete
|
- run-delete
|
||||||
|
- run-replay
|
||||||
- run-update
|
- run-update
|
||||||
- scm-tag
|
- scm-tag
|
||||||
anonymous:
|
anonymous:
|
||||||
|
Loading…
Reference in New Issue
Block a user