Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24271

Re-execute and Force permissions must be separated

      I have a business case where I want to allow a user to trigger re-execution but disallow "Force promotion" so he can't break the pipeline.

          [JENKINS-24271] Re-execute and Force permissions must be separated

          Uldis Karlovs-Karlovskis created issue -
          Renate Kazaka made changes -
          Assignee New: Renate Kazaka [ renate_kazaka ]
          Renate Kazaka made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          I also have the same requirement. Any ETA on resolution?

          Guillaume Paradis added a comment - I also have the same requirement. Any ETA on resolution?

          I have it done on my test env but there is an issue to rename priviledge/security role during upgrade of plugin. Anyone has example how to do it in right way?

          Planning to finish on January or February.

          Uldis Karlovs-Karlovskis added a comment - I have it done on my test env but there is an issue to rename priviledge/security role during upgrade of plugin. Anyone has example how to do it in right way? Planning to finish on January or February.
          Uldis Karlovs-Karlovskis made changes -
          Assignee Original: Renate Kazaka [ renate_kazaka ] New: Uldis Karlovs-Karlovskis [ nrc ]

          Permission rename is quite tricky so I left old permission and added a new one for re-execute. Changes commited to development branch.

          Uldis Karlovs-Karlovskis added a comment - Permission rename is quite tricky so I left old permission and added a new one for re-execute. Changes commited to development branch.
          Uldis Karlovs-Karlovskis made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Dmitrijs Sahlovs made changes -
          Assignee Original: Uldis Karlovs-Karlovskis [ nrc ] New: Dmitrijs Sahlovs [ stargolem ]

          Proposed fix is available:
          https://github.com/SmokyNight/promoted-builds-plugin
          commit 0abb6feca3014ab354d0c00c4e96f3a7f818ada0

          Pull request to merge it to master was created:
          https://github.com/jenkinsci/promoted-builds-plugin/pull/55

          Be aware, that after installing you will need to setup "re-execute" permission where needed.

          Dmitrijs Sahlovs added a comment - Proposed fix is available: https://github.com/SmokyNight/promoted-builds-plugin commit 0abb6feca3014ab354d0c00c4e96f3a7f818ada0 Pull request to merge it to master was created: https://github.com/jenkinsci/promoted-builds-plugin/pull/55 Be aware, that after installing you will need to setup "re-execute" permission where needed.

            stargolem Dmitrijs Sahlovs
            nrc Uldis Karlovs-Karlovskis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: