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

The "Evaluated Groovy script" can not be updated w/o Admin Permission

      Without Admin permission a user can not update the field "Evaluated Groovy script". (see screenshot)

      The user has the "configure" permission for the job. This permission is set from a "Project Roles" provided by the "Role-Strategy" plugin.

      The workaround is that the user ask an admin to update the job but it is really not userfriendly for us.

      Thanks you for your help.

        1. env.jpg
          77 kB
          Benjamin Dewez

          [JENKINS-33421] The "Evaluated Groovy script" can not be updated w/o Admin Permission

          Oleg Nenashev added a comment -

          This behavior is "as designed".
          System Groovy scripts are insecure, so only admins are eligible to modify them on their own risk.

          Oleg Nenashev added a comment - This behavior is "as designed". System Groovy scripts are insecure, so only admins are eligible to modify them on their own risk.

          Ok, Thanks for your quick feedback

          Maybe it's a good idea to specify this behavior into the "Known limitations" section from plugin's documentation.

          Benjamin Dewez added a comment - Ok, Thanks for your quick feedback Maybe it's a good idea to specify this behavior into the "Known limitations" section from plugin's documentation.

            oleg_nenashev Oleg Nenashev
            xter Benjamin Dewez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: