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

Matrix-based security -Job cancel privilege not working

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • matrix-auth-plugin
    • None

      If cancel privilege not granted also,users able to cancel building job.

        1. consoleOutput.png
          consoleOutput.png
          87 kB
        2. privilege.png
          privilege.png
          29 kB
        3. CancelBuild.jpg
          CancelBuild.jpg
          51 kB

          [JENKINS-15464] Matrix-based security -Job cancel privilege not working

          vijayabharath m created issue -

          There's no permission in Jenkins that represents "privilege to cancel a build", so I'm not sure which permission you are referring to.

          If you disagree, please reopen the ticket and attach the screenshots of the matrix configuration UI, so that we can verify where it came from.

          Kohsuke Kawaguchi added a comment - There's no permission in Jenkins that represents "privilege to cancel a build", so I'm not sure which permission you are referring to. If you disagree, please reopen the ticket and attach the screenshots of the matrix configuration UI, so that we can verify where it came from.
          Kohsuke Kawaguchi made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Jan Vogel added a comment -

          Same issue here, I've attached the screenshot, including the hover text. I've cleared both role names.

          Jan Vogel added a comment - Same issue here, I've attached the screenshot, including the hover text. I've cleared both role names.
          Jan Vogel made changes -
          Attachment New: CancelBuild.jpg [ 22715 ]

          Jan Vogel added a comment -

          I've experienced the same issue as the original report. Found this page when looking for a solution, so I've taken the liberty to attach the requested screenshot.

          Jan Vogel added a comment - I've experienced the same issue as the original report. Found this page when looking for a solution, so I've taken the liberty to attach the requested screenshot.
          Jan Vogel made changes -
          Resolution Original: Cannot Reproduce [ 5 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

          I have attached the console output of a sample job & privileges of the user.

          vijayabharath m added a comment - I have attached the console output of a sample job & privileges of the user.
          vijayabharath m made changes -
          Attachment New: consoleOutput.png [ 22718 ]
          Attachment New: privilege.png [ 22719 ]

          I created a job and ran it. I didn't given Cancel privilege to the testuser. Even though testuser cancelled that job.
          Please refer the screen shots which I added here.

          vijayabharath m added a comment - I created a job and ran it. I didn't given Cancel privilege to the testuser. Even though testuser cancelled that job. Please refer the screen shots which I added here.

            kohsuke Kohsuke Kawaguchi
            vijayabharathm vijayabharath m
            Votes:
            10 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: