-
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
[JENKINS-24767] Role-based Authorization Strategy not working with sub-folders
Component/s | Original: cloudbees-folder [ 18137 ] | |
Assignee | Original: Jesse Glick [ jglick ] | New: Oleg Nenashev [ oleg_nenashev ] |
Description |
Original:
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 |
New:
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} |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Resolution | Original: Not A Defect [ 7 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
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.