-
Bug
-
Resolution: Fixed
-
Major
I don't know that this is a bug or a feature, but I've noticed, that one cannot authenticate with a valid account through cli without giving Overall read permission for the Anonymous account.
I'm using LDAP security, and if I remove that right from Anonymous, I get the
build:~# java -jar jenkins-cli.jar -s http://localhost:8080/ help --username tyrael --password-file pwd
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/cli
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:61)
at hudson.cli.CLI.<init>(CLI.java:91)
at hudson.cli.CLI.<init>(CLI.java:63)
at hudson.cli.CLI.main(CLI.java:176)
the same command works if I set the above mentioned right to the Anonymous account.
- is duplicated by
-
JENKINS-8814 allow using the help command without access rights to the server
-
- Resolved
-
[JENKINS-8815] you cannot use the cli without giving Overall read to Anonymous
Link |
New:
This issue is duplicated by |
Issue Type | Original: Improvement [ 4 ] | New: Bug [ 1 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | New: Steven Christou [ schristou ] | |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Labels | New: lts-candidate |
Labels | Original: lts-candidate | New: 1.532.2-fixed |
Link | New: This issue depends on SECURITY-192 [ SECURITY-192 ] |
Workflow | Original: JNJira [ 138959 ] | New: JNJira + In-Review [ 188251 ] |