I\'m using Nexus Repository Manager 3.1.0-04, and I want to create a user to just have deployment permissions. What are the minimal set of privileges required for that?
The general rule is nx-repository-admin
privileges are for administering the repositories and their details; nx-repository-view
privileges are for use of the repositories once set up. Assign the latter.
To tweak repository privileges of your Deployment user(s) you should use the nx-repository-view-*-*-*
as the assigned privilege, instead of nx-repository-admin
. So, remove all the privileges you addressed in your question, and replace the ‘Given’ field with nx-repository-view-*-*-*
. Since the privilege is denoted with asterisks, your Deployment users can perform all the above actions (i.e. browse, read, edit, add, and delete).
See the screenshot for reference:
Configuring the nx-deploy Privilege for the Deployment Role
You can read more about Privileges in the Security chapter: https://help.sonatype.com/repomanager3/security/privileges