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

Role-based Authorization Strategy not working with sub-folders

    Details

    • Similar Issues:

      Description

      Using the folder structure below, trying to give a user access to ONLY the contents of FolderA. I'd expect

      .*FolderA.*

      to do that.

      To Reproduce:
      Create this folder structure:
      Folder1/
      Folder1/FolderA/
      Folder1/FolderA/JobA
      Folder1/FolderB/
      Folder1/FolderB/JobB
      Folder1/Job1

      Try these search expressions:

       -> ".*Folder1.*" Works
       -> ".*FolderA.*" Does NOT work
       -> ".*JobA.*" Does NOT work
       -> ".*FolderB.*" Does NOT work
       -> ".*JobB.*" Does NOT work
       -> ".*Job1.*" Does NOT work
      

        Attachments

          Activity

          bobtheshrew Eric Anker created issue -
          danielbeck Daniel Beck made changes -
          Field Original Value New Value
          Assignee Jesse Glick [ jglick ] Oleg Nenashev [ oleg_nenashev ]
          Component/s cloudbees-folder [ 18137 ]
          bobtheshrew Eric Anker made changes -
          Description Using the folder structure below, trying to give a user access to ONLY the contents of FolderA. I'd expect .*FolderA.* to do that.

          To Reproduce:
          Create this folder structure:
          Folder1/
          Folder1/FolderA/
          Folder1/FolderA/JobA
          Folder1/FolderB/
          Folder1/FolderB/JobB
          Folder1/Job1

          Try these search expressions:
           -> .*Folder1.* Works
           -> .*FolderA.* Does NOT work
           -> .*JobA.* Does NOT work
           -> .*FolderB.* Does NOT work
           -> .*JobB.* Does NOT work
           -> .*Job1.* Does NOT work
          Using the folder structure below, trying to give a user access to ONLY the contents of FolderA. I'd expect {noformat}.*FolderA.*{noformat} to do that.

          To Reproduce:
          Create this folder structure:
          Folder1/
          Folder1/FolderA/
          Folder1/FolderA/JobA
          Folder1/FolderB/
          Folder1/FolderB/JobB
          Folder1/Job1

          Try these search expressions:
          {noformat} -> ".*Folder1.*" Works
           -> ".*FolderA.*" Does NOT work
           -> ".*JobA.*" Does NOT work
           -> ".*FolderB.*" Does NOT work
           -> ".*JobB.*" Does NOT work
           -> ".*Job1.*" Does NOT work
          {noformat}
          bobtheshrew Eric Anker made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Not A Defect [ 7 ]
          oleg_nenashev Oleg Nenashev made changes -
          Resolution Not A Defect [ 7 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 157805 ] JNJira + In-Review [ 186231 ]
          oleg_nenashev Oleg Nenashev made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]
          akrysko Alexander Krysko made changes -
          Resolution Not A Defect [ 7 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          akrysko Alexander Krysko made changes -
          Comment [ Second comment is not very specific. In plugin configuration there are Global and Project roles. So
           * should there be Overall Read checkbox in a Global role
           * should there be Job Read checkbox in a Global role

          May I ask someone who succeeded in described configuration to attach screenshots? ]
          oleg_nenashev Oleg Nenashev made changes -
          Status Reopened [ 4 ] Fixed but Unreleased [ 10203 ]
          Resolution Not A Defect [ 7 ]

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              bobtheshrew Eric Anker
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: