-
Improvement
-
Resolution: Not A Defect
-
Major
-
Windows 7 Enterprise 64-Bit, JDK 1.7.0_60
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
Description | Original: 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, respectively to enter the variable in the configuration of a jobgenerator and replace it with the username in the generated job. | New: 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, respectively to enter the variable in the configuration of a jobgenerator and replace it with the username in the configuration of the generated job. |
Description | Original: 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, respectively to enter the variable in the configuration of a jobgenerator and replace it with the username in the configuration of the generated job. | New: 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 a generated job. |
Summary | Original: Make environment variables available for matrix-based security plugin | New: Make environment variables available for Matrix Authorization Strategy Plugin |
Description | Original: 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 a generated job. | New: 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. |
Assignee | Original: Jesse Glick [ jglick ] | |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 157008 ] | New: JNJira + In-Review [ 207934 ] |
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.