Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50324

User without READ cannot logout from CLI with remoting

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            wfollonier Wadeck Follonier created issue -
            wfollonier Wadeck Follonier made changes -
            Field Original Value New Value
            Remote Link This issue links to "#3363 core (Web Link)" [ 20302 ]
            wfollonier Wadeck Follonier made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            wfollonier Wadeck Follonier made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            wfollonier Wadeck Follonier made changes -
            Assignee Wadeck Follonier [ wfollonier ]
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels lts-candidate
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate 2.107.3-fixed

              People

              Assignee:
              wfollonier Wadeck Follonier
              Reporter:
              wfollonier Wadeck Follonier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: