How to set include pattern permissions in JFrog Artifactory?
Video Transcript:
Hello. My name is Dan Dafna from JFrog Support. In this short video I will show you how to control access to file/folder using include pattern on permission. Let’s start.
We have already find test-permission which includes generic local repository and then testuser with that screen with full permission on the repository. Let’s look on generic local repository. We have two folders beneath the repository: other-test and test. In some cases, there are different things or some different projects on the same repository.
In this case, we would like to run permission for each thing for it’s project’s artifact’s only. Let’s see how we can do that using a good pattern’s permission. Let’s get back and edit this test permission. When you click on the edit, you can see that column, see? Any user with touch test permission can have access to any artifact or folder open this report.
Now let’s change it and give permission to only artifacts in this test folder. Let’s save it. We begin again, let’s just do that. Now, when you browse artifact, you can see that we have access to generic local and test folder only.
Let’s see what happen when we try to deploy a file. Where we deploy a file to test folder. Everything works, let’s look at it. However, we’re going to try to deploy a file to different paths within our repository. We get a message telling us that we don’t have permission to deploy to this paths in same generic local repository.
Before we are done, it’s important to remember that including programs open permission is expensive in terms of performance. In many cases, it’s better to have a separate repository for each thing. That was my video on how to control access on a specific path or folder within a repository using user permission. Thanks for watching and I hope you all enjoyed. Feel free to leave your comments, feedback, or questions in the comment section below.