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

          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.

          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.

          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.

          Jesse Glick added a comment -

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

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

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

              Created:
              Updated: