Skip to content

Artifact repository user and role management

Description Nexus Roles Users
Admin users Nexis Administrator Role only a few selected super users
Deployment users Nexus Deployment Role and Repo: All Repositories (Full Control) CI-servers
Read-only users Roles: one per project/company one user per environment to be able to fetch artifacts when installing services.

TODO: Stig will add link to page describing how to configure Jenkins CI server to support mvn release.

More fine-grained control can be added when needed. I.e. deployment users with read/write access only to selected repositories or read-only users which only can download from a few repositories.

Changes
  1. Set new admin password
  2. Disable the Anonymous user
  3. Set new password for deployment role
  4. Create new Repository target privilege 3rd party repo.
  5. Create new hosted repositories: project1-releases and project1-snapshots
    1. Create new Repository target privilege for each of these.
    2. Create new role with only read and view privileges
      1. read and view on both repositories
      2. read and view on thirdparty
      3. Artifact download
      4. UI: Search
      5. UI: Base UI privileges
      6. UI: Repository browser
    3. Create new read only user and give this user this role.

http://books.sonatype.com/nexus-book/reference/security-privileges.html