Last active
August 29, 2015 14:05
-
-
Save tfennelly/b8b6dffe7718418314be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From CopyArtifact plugin - CopyArtifact.java line 271: http://goo.gl/ob2HAo | |
if (job != null && !expandedProject.equals(project) | |
// If projectName is parameterized, need to do permission check on source project. | |
&& !canReadFrom(job, build)) { | |
job = null; // Disallow access | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (job != null && (!(expandedProject.equals(project) | |
|| !canReadFrom(job, build))) { | |
job = null; // Disallow access | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment