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

replay button on Blue Ocean run details page does not display when branch permissions allow it

    XMLWordPrintable

Details

    Description

      For multiibranch projects we use the role-strategy plugin to grant a group of users read-only access for the entire project, and build permissions for certain branches (PR-* pull request branches) so they can rerun failed builds for their pull requests.

      When viewing the run details in Blue Ocean, this group of users cannot see the replay button on builds for which they have build permissions. It appears the RunDetails react component is checking permissions against the pipeline (which they have default read-only permissions) and not the specific branch/build.

      Attachments

        Activity

          The same error. 

          I use Bitbucket organisation and Role-Based plugin Item permissions with regex. Users are able to replay build in classic interface. 

          I've checked workflow-cps-plugin repo and it seems it should work. Second statement works for me when I add permissions Job/Build to the parent folder.

           

          ok_go_love Mikhail Naletov added a comment - The same error.  I use Bitbucket organisation and Role-Based plugin Item permissions with regex. Users are able to replay build in classic interface.  I've checked  workflow-cps-plugin repo  and it seems it should work. Second statement works for me when I add permissions Job/Build to the parent folder.  

          People

            Unassigned Unassigned
            maflick88 Mark Flickinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: