This article speaks about restricting the visibility of published builds to non-admin users using permission targets.
Below are the steps to achieve the usecase.
-> Create a permission target and add the required builds from the Artifactory UI by Build Name or Pattern option as below.
-> Add the required non admin users and provided the needed permissions on the corresponding selected builds. We can also use the groups option to allow for specific groups having list of users.
-> After the above permission target created, we will see only the selected builds acces to the respective nonadmin user from the builds section and also under the “artifactoy-build-info” repository.
Please note that “Allow Basic Read of Build Related Info” option is disabled to have the restriction or visibililty of published builds to work as expected. Because the “Allow Basic Read of Build Related Info”, when enabled, gives all users (including anonymous users) view permissions to published modules for all builds in the system. This is regardless of any specific permissions applied to a particular build.