Repository Management with Nexus

6.13. Managing Privileges

You can access the configuration of privileges via the Privileges menu item in the Security sub-menu in the left-hand Nexus menu. Nexus has three types of privileges: application privileges which cover actions a user can execute in Nexus, repository target privileges which govern the level of access a user has to a particular repository or repository target, and repository view privileges which control whether a user can view a repository. Behind the scenes, a privilege is related to a single REST operation and method like create, update, delete, read.


Figure 6.28. Managing Security Privileges

To create a new privilege, click on the Add… button in the Privileges panel and choose Repository Target Privilege. Creating a privilege will load the New Repository Target Privilege form shown in Figure 6.29, “Creating a New Repository Target Privilege”. This form takes a privilege name, a privilege description, the repository to target, and a repository target.


Figure 6.29. Creating a New Repository Target Privilege

Once you create a new privilege, it will create four underlying privileges: create, delete, read, and update. The four privileges created by the form in Figure 6.29, “Creating a New Repository Target Privilege” are shown in Figure 6.30, “Create, Delete, Read, and Update Privileges Created”.


Figure 6.30. Create, Delete, Read, and Update Privileges Created