Filip Pytloun | 0a8e0fe | 2017-03-27 14:59:17 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | # Full admin access |
| 4 | jenkins_security_matrix_admins: |
| 5 | - ${_param:jenkins_client_user} |
| 6 | # Read only access |
| 7 | jenkins_security_matrix_read: [] |
| 8 | # Read + permissions to build jobs |
| 9 | jenkins_security_matrix_build: [] |
| 10 | # Build permissions + create/delete, whatever. |
| 11 | jenkins_security_matrix_write: |
| 12 | - ${_param:jenkins_client_user} |
| 13 | |
| 14 | jenkins: |
| 15 | client: |
| 16 | security: |
| 17 | matrix: |
| 18 | permissions: |
| 19 | Jenkins: |
| 20 | ADMINISTER: ${_param:jenkins_security_matrix_admins} |
| 21 | READ: ${_param:jenkins_security_matrix_read} |
| 22 | hudson: |
| 23 | model: |
| 24 | Item: |
| 25 | BUILD: ${_param:jenkins_security_matrix_build} |
| 26 | CANCEL: ${_param:jenkins_security_matrix_build} |
| 27 | CONFIGURE: ${_param:jenkins_security_matrix_write} |
| 28 | CREATE: ${_param:jenkins_security_matrix_write} |
| 29 | DELETE: ${_param:jenkins_security_matrix_write} |
| 30 | DISCOVER: ${_param:jenkins_security_matrix_build} |
| 31 | EXTENDED_READ: ${_param:jenkins_security_matrix_build} |
| 32 | WIPEOUT: ${_param:jenkins_security_matrix_write} |
| 33 | WORKSPACE: ${_param:jenkins_security_matrix_write} |
| 34 | READ: ${_param:jenkins_security_matrix_read} |
| 35 | Run: |
| 36 | DELETE: ${_param:jenkins_security_matrix_write} |
| 37 | ARTIFACTS: ${_param:jenkins_security_matrix_write} |
| 38 | UPDATE: ${_param:jenkins_security_matrix_write} |
| 39 | View: |
| 40 | READ: ${_param:jenkins_security_matrix_read} |
| 41 | com: |
| 42 | sonyericsson: |
| 43 | hudson: |
| 44 | plugins: |
| 45 | gerrit: |
| 46 | trigger: |
| 47 | PluginImpl: |
| 48 | RETRIGGER: ${_param:jenkins_security_matrix_build} |