-
Bug
-
Resolution: Not A Defect
-
Major
-
Jenkins ver. 1.565.2
CloudBees Folders Plugin 4.6.1
Role-based Authorization Strategy 2.2.0
Windows 7
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
Similar to a file system, you need to provide access to every item in the hierarchy. So Item/Read on Folder1 and any relevant permissions on Folder1/FolderA should do it.