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

Re-execute and Force permissions must be separated

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          darkfallsqc Guillaume Paradis added a comment -

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

          Show
          darkfallsqc Guillaume Paradis added a comment - I also have the same requirement. Any ETA on resolution?
          Hide
          nrc 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.

          Show
          nrc 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.
          Hide
          nrc 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.

          Show
          nrc 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.
          Hide
          stargolem 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.

          Show
          stargolem 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.
          Hide
          jglick Jesse Glick added a comment -

          This is not Resolved/Fixed unless and until the PR is merged.

          Show
          jglick Jesse Glick added a comment - This is not Resolved/Fixed unless and until the PR is merged.

            People

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

              Dates

              • Created:
                Updated: