Add Repositories

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

Click Add Repositories to select repositories. You can filter the repositories to which the permission apply.

AddRepositories.png

The Select Repositories tab displays repositories in the system. You can search for repositories and select according to your requirements.

You can select Any Local Repository or Any Remote Repository or Any Distribution Repository. Selecting these options, adds all the existing and future repositories of the selected type to this permission.

After you select the repositories, you can apply patterns to restrict the permission to provide access on specific paths inside the selected repositories.

Click Set Patterns (Optional) to apply patterns.

SetPatterns.png

The Patterns tab enables you to include or exclude paths in the selected repositories based on wildcard patterns. Ant-style path expressions are supported (*, **, ?) like org/apache/**. For more information, see AntPathMatcher Documentation. The include and exclude patterns are limited to 1024 characters.

For example, you can create a permission that allows user "Builder" and group "Deployers" to read from and deploy artifacts to the libs-releases repository. You can then add org/apache/** as an include pattern to the aforementioned permission target causing users in this permission target to only have access to paths under org/apache/** in the libs-releases repository.

You can add more than one pattern. After you enter a pattern, click + or hit the enter key to add that pattern to the filter.

You can create patterns that apply to all the repositories or set patterns per selected repository.

SetPatternsPerRepo.png