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