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

Make environment variables available for Matrix Authorization Strategy Plugin

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          jglick 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.

          Show
          jglick 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.
          Hide
          maxk Max Krause added a comment -

          Thanks for the tip!

          Show
          maxk Max Krause added a comment - Thanks for the tip!

            People

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

              Dates

              • Created:
                Updated:
                Resolved: