Blueocean input step does not respect "discover" permission

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

XMLWordPrintable

      The "Discover" role is to allow the users to know that a resource exists in Jenkins. If the Anonymous User doesn't have "Read" role and have "Discover", they are asked to login.

      During a pipeline it is specially useful during a input step. If the Anonymous user has the "Read" role, the step fail after the Ok button is clicked. If it doesn't have, he gets a 404 error and thinks there is an error.

      The "Discover permission" does not work while in Blue Ocean. If the Anonymous User has the role Discover but not the Read role, both the main job page and the input page give a 404 Not Found error. Here are the failing urls of the job "teste-aprovador":

      http://vrt1071:8280/blue/organizations/jenkins/teste-aprovador/activity/

      http://vrt1071:8280/blue/organizations/jenkins/teste-aprovador/detail/teste-aprovador/103/pipeline/

      If I go to the old interface and go to the "Paused for input" build link:

      http://vrt1071:8280/job/teste-aprovador/104/input/

      Jenkins correctly asks me to login so I can see the page.

      Here is the sample configuration:

        1. image-2019-03-01-17-52-13-309.png
          13 kB
          Paulo Eduardo Neves
        2. image-2019-03-01-17-52-35-360.png
          17 kB
          Paulo Eduardo Neves
        3. image-2019-03-01-18-04-56-061.png
          38 kB
          Paulo Eduardo Neves

            Assignee:
            Unassigned
            Reporter:
            Paulo Eduardo Neves
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: