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

Make environment variables available for Matrix Authorization Strategy Plugin

      The matrix-auth plugin only supports user names. It would be an useful improvement to support environment variables like ${BUILD_USER_ID}, to automatically assign permissions to the user who started the build, or more specifically to enter the variable in the configuration of a jobgenerator and replace it with the username of the user who started the jobgenerator in the configuration of the generated jobs.

          [JENKINS-24134] Make environment variables available for Matrix Authorization Strategy Plugin

          Jesse Glick added a comment -

          Does not make sense as written. If a job is being generated by some tool, then that tool should include any job-specific permissions in the config.xml, such as granting build permission to the user who initiated the generation. The matrix-auth plugin need not be modified.

          Jesse Glick added a comment - Does not make sense as written. If a job is being generated by some tool, then that tool should include any job-specific permissions in the config.xml , such as granting build permission to the user who initiated the generation. The matrix-auth plugin need not be modified.

          Max Krause added a comment -

          Thanks for the tip!

          Max Krause added a comment - Thanks for the tip!

            Unassigned Unassigned
            maxk Max Krause
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: