Repository Management with Nexus
6.11. Managing Users
Nexus ships with three users: admin, anonymous, and deployment. The admin user has all privileges, the anonymous user has read-only privileges, and the deployment user can both read and deploy to repositories. If you need to create users with a more focused set of permissions, you can click on Users under Security in the left-hand navigation menu. Once you see the list of users, you can click on a user to edit that specific user’s user ID, name, email, or status. You can also assign or revoke specific roles or permissions for a particular user.
Clicking the Add button in the Role Management section will bring up the list of available roles in a pop up window visible in Figure 6.39, “Adding Roles to a User”. It allows you filter and search for roles and add one or multiple roles to the user.
A user can be assigned one or more roles which in turn can include references to other Nexus roles or to individual Nexus privileges. To view a tree of assigned Nexus roles and privileges, select the Role Tree for a particular user as shown in Figure 6.40, “Nexus User Role Tree”.
If you need to find out exactly how a particular user has been granted a particular privilege, you can use the Privilege Trace panel as shown in Figure 6.41, “Nexus User Privilege Trace”. The Privilege Trace pane lists all of the privileges that have been granted to a particular user. Clicking on a privilege loads a tree of roles that grant that particular privilege to a user. If a user has been assigned a specific privilege by more than one Role or Privilege assignment, you will be able to see this reflected in the Role Containment list.
Additional plugins can contribute further panels for the security configuration of a user. An example of an additional panel is the User Token panel, added by the User Token feature of Nexus Professional as documented in Section 6.15, “Security Setup with User Tokens”.