ARTIFACTORY : How to give permissions to subfolders

ARTIFACTORY : How to give permissions to subfolders

AuthorFullName__c
Johnson Nguyen
articleNumber
000005834
ft:sourceType
Salesforce
FirstPublishedDate
2023-08-03T10:13:39Z
lastModifiedDate
2023-08-03
VersionNumber
5

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/**

User-added image

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

User-added image

After doing so, please go to the Users tab and add the user that will have permissions to the subfolder

User-added image

After doing so, the result from the user should be something similar to this