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

CLICommandInvoker enables permissions but does not disable them again

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Occurred in https://github.com/jenkinsci/jenkins/pull/5425 which probably changed the order of test execution in https://github.com/jenkinsci/jenkins/blob/master/test/src/test/java/hudson/cli/GetNodeCommandTest.java

      Some tests grant Computer.EXTENDED_READ permission. If they run before getNodeShouldFailWithoutComputerReadPermission (wrong name), the error message references that permission rather than Agent/Configure.

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          authorizedTo is deprecated anyway.

          Show
          jglick Jesse Glick added a comment - authorizedTo is deprecated anyway.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: