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

users unable to configure multibranch jobs without global Job/Build permission

    Details

    • Similar Issues:

      Description

      steps to recreate:

      1. create a folder
      2. enable folder based permissions
      3. add a user and grant all the available permissions
      4. create a multibranch job in the folder
      5. in branch source, choose gitlab.
      6. user gets the following error message between the "projects" section and the "Behaviours" section:
        ------------------------------
        Access Denied
        <username> is missing the Job/Build permission
        --------------------------------

       

       

      workaround:

      granting the user the Job/Build permission in "Configure Global Security " solves the problem, but this is major breach in security.

       

      it appears as if the plugin doesn't take into account the permissions granted to the user at the folder level.

        Attachments

          Activity

          amidar Amit Dar created issue -
          amidar Amit Dar made changes -
          Field Original Value New Value
          Issue Type Improvement [ 4 ] Bug [ 1 ]
          Attachment job-configuration-error.jpg [ 51323 ]
          Attachment folder-level-configuration.jpg [ 51324 ]
          amidar Amit Dar made changes -
          Attachment jenkins-log.txt [ 51325 ]
          amidar Amit Dar made changes -
          Environment jenkins server 2.222.3
          folders plugin 6.12
          matrix authorization plugin 2.6.1
          matrix project plugin 1.14
          gitlab branch source plugin 1.5.1
          gitlab server 12.10.0-ee

          jenkins server 2.222.3
          folders plugin 6.12
          matrix authorization plugin 2.6.1
          matrix project plugin 1.14
          gitlab branch source plugin 1.5.1



          amidar Amit Dar made changes -
          Description steps to recreate:
           # create a folder
           # enable folder based permissions
           # add a user and grant all the available permissions
           # create a multibranch job in the folder
           # in branch source, choose gitlab.
           # user gets the following error message between the "projects" section and the "Behaviours" section:
          ------------------------------
          Access Denied
          <username> is missing the Job/Build permission
          --------------------------------



           

           

          workaround:

          granting the user the Job/Build permission in "Configure Global Security " solves the problem, but this is major breach in security.

           

          it appears as if the plugin doesn't take into account the permissions granted to the user at the folder level.

          i'll provide the line from the log shortly.
          steps to recreate:
           # create a folder
           # enable folder based permissions
           # add a user and grant all the available permissions
           # create a multibranch job in the folder
           # in branch source, choose gitlab.
           # user gets the following error message between the "projects" section and the "Behaviours" section:
           ------------------------------
           Access Denied
           <username> is missing the Job/Build permission
           --------------------------------

           

           

          workaround:

          granting the user the Job/Build permission in "Configure Global Security " solves the problem, but this is major breach in security.

           

          it appears as if the plugin doesn't take into account the permissions granted to the user at the folder level.
          amidar Amit Dar made changes -
          Environment gitlab server 12.10.0-ee

          jenkins server 2.222.3
          folders plugin 6.12
          matrix authorization plugin 2.6.1
          matrix project plugin 1.14
          gitlab branch source plugin 1.5.1



          gitlab server 12.10.0-ee

          jenkins server 2.222.3
          folders plugin 6.12
          matrix authorization plugin 2.6.1
          matrix project plugin 1.14
          gitlab branch source plugin 1.5.1
          multiple scms plugin 0.6



          amidar Amit Dar made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          amidar Amit Dar made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          amidar Amit Dar made changes -
          Summary users unable to create multibranch jobs without global Job/Build permission users unable to configure multibranch jobs without global Job/Build permission
          amidar Amit Dar made changes -
          amidar Amit Dar made changes -
          Attachment jenkins-plugins-installed.txt [ 51665 ]
          amidar Amit Dar made changes -
          Attachment folder-level-configuration.jpg [ 51324 ]
          amidar Amit Dar made changes -
          Attachment jenkins-log.txt [ 51325 ]
          amidar Amit Dar made changes -
          Attachment job-configuration-error.jpg [ 51323 ]
          amidar Amit Dar made changes -
          Environment gitlab server 12.10.0-ee

          jenkins server 2.222.3
          folders plugin 6.12
          matrix authorization plugin 2.6.1
          matrix project plugin 1.14
          gitlab branch source plugin 1.5.1
          multiple scms plugin 0.6



          gitlab server (www.gitlab.com)

          jenkins docker official image 2.222.4

          plugins and configuration attached as files.

            People

            • Assignee:
              baymac Parichay Barpanda
              Reporter:
              amidar Amit Dar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: