To give certain users access to specific permissions to subfolder(s), we can utilize the Include Patterns in the Permissions.
For example, userA wants to have permissions in the path {repoName}/{subFolderName}
Such as, testingPerms/testingB.
To do so please go to User Management in the Administration tab.
In there we can go to Permissions and create a New Permission. Please add the desired Repository, and the include pattern. The include pattern should be the subfolder name along with two asterisks. The two asterisks at the end means that the user gets access to that subfolder and everything inside it.
If we want to add more than one subfolder, can we add multiple include patterns.
For example:
/testingb/** /testinga/**
Attached below is the permissions target obtained from utilzing the API Call https://jfrog.com/help/r/jfrog-rest-apis/get-permission-targets?tocId=vkVO6a63fniQBw3QsealWA
After doing so, please go to the Users tab and add the user that will have permissions to the subfolder
After doing so, the result from the user should be something similar to this