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

Groovy Postbuild requires Overall/Administer permission

    XMLWordPrintable

Details

    • groovy-postbuild-2.5

    Description

      Although it uses script security and administrators can whitelist methods and approve scripts, Groovy Postbuild still requires that the user running it must have Overall/Administer permission: https://github.com/jenkinsci/groovy-postbuild-plugin/blob/master/src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java#L364

       

      This creates failed builds when using the Authorize Project plugin to run builds as the user that triggered them and most of the users that run builds are regular users.

      Attachments

        Issue Links

          Activity

            ace Adrian Vlad created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Labels permissions
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-15212 [ JENKINS-15212 ]
            ikedam ikedam made changes -
            Assignee Stefan Wolf [ wolfs ] ikedam [ ikedam ]
            ikedam ikedam made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ikedam ikedam made changes -
            Released As groovy-postbuild-2.5
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            ikedam ikedam made changes -
            Assignee ikedam [ ikedam ] Adrian Vlad [ ace ]

            People

              ace Adrian Vlad
              ace Adrian Vlad
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: