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

Would like a new section of the Script security approval page to be "pending scripts from Disabled Jobs"

XMLWordPrintable

      Request:

      Create a new section inside of the "In Process Script Approval" screen which shows pending approvals which are coming from disabled jobs

      Reasoning:

      There are some situations where you want to deny some scripts where developers are potentially doing bad things. But when Jenkins is restarted, those denied scripts come back to the "In Process Script Approval" screen which is annoying. It would be great to have a way to isolate those scripts which are not being fixed by developers. This could be accomplished by disabling their projects and then being able to sort their scripts so that new scripts waiting on approval are not lumped in with the bad ones on restart.

      Implementation:

      `ScriptApproval/index.jelly` could perhaps show a special UI for `PendingThing`s whose `context` has an `item` which is in fact a `disabled` `Job`. So this would mean creating a new UI box and putting scripts into it with the disabled job flag.

       

      Thoughts?

            Unassigned Unassigned
            ataylor Alex Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: