User without READ cannot logout from CLI with remoting

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      If you have a security realm that allow user without READ to connect, the CLI will not accept a Logout command from that user.

      $ java -jar /Users/<user>/Projects/jenkins/test/target/junit<random>/jenkins-cli.jar -s http://localhost:<port>/jenkins/ -noKeyAuth -auth user:user logout
      ERROR: user is missing the Overall/Read permission
      

      It seems this line is the culprit.

      PS: that auth method is currently deprecated if I recall correctly.

            Assignee:
            Wadeck Follonier
            Reporter:
            Wadeck Follonier
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: