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

Manually triggered Promoted builds is not visible to users who are not Admins unless they are on the `Approvers` list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: promoted-builds-plugin
    • Labels:
      None
    • Environment:
      Jenkins Core 2.107.x
      Promoted builds 3.0 + 3.1
    • Similar Issues:

      Description

      Issue:

      When a user has full job permissions(build, create, promote....) on Jenkins but not Overall Admin access, they can not manually promote a job using the button.

       

      Steps to reproduce:

      1. Spawn up a new Jenkins instance with 2 users: Admin(full admin permissions), Developer(full job permissions and overall read) and the promoted builds plugin installed
      2. Create a new job with a manual promotion process having no "Approvers" list
      3. Build the Job
      4. Observe that Admin can promote the build but Developer does not have access to the button to promote

      Workaround:

      Adding the Developer user to the list of approvers makes the button show up

       

      Expected Behavior:

      I would expect the Developer user to also have access to the promotion process since they have job promote permission

       

      Let me know if I can clarify anything

        Attachments

          Activity

          ataylor Alex Taylor created issue -
          ataylor Alex Taylor made changes -
          Field Original Value New Value
          Attachment Screen Shot 2018-03-30 at 12.03.39 PM.png [ 42031 ]
          Attachment Screen Shot 2018-03-30 at 12.03.04 PM.png [ 42032 ]
          Attachment Screen Shot 2018-03-30 at 12.02.06 PM.png [ 42033 ]
          dnusbaum Devin Nusbaum made changes -
          dnusbaum Devin Nusbaum made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            dnusbaum Devin Nusbaum
            Reporter:
            ataylor Alex Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: