-
Bug
-
Resolution: Fixed
-
Major
-
None
CLI options are parsed before the remote authentication is set to securityContextHolder. Side effect is that AbstractProject options are populated with default authentication, i.e. anonymous that may not have READ permission on jobs.
- depends on
-
JENKINS-12543 CliAuthenticator (username/password) called too late to parse arguments (like job names)
-
- Resolved
-
- duplicates
-
JENKINS-10890 public key authentication leads to authorization as "anonymous"
-
- Resolved
-
main issue here is that options need to be parsed for CliAuthenticator to compute --username and --password
but SecurityContext.authorization need to be set to populate AbstractProject