Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-12222

NXRM2 repository view privileges are not migrated to NXRM3 browse privileges during upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.0, 3.5.0, 3.6.0, 3.6.2, 3.13.0, 3.15.0
    • Fix Version/s: 3.16.0
    • Component/s: Migration, Security
    • Labels:

      Description

      A role in Nexus 2 may be assigned a repository view privilege - an example entry would take the form:

      <repoid> - (view)

      Where repoid is replaced with the actual repository identifier. Example:

      company_repo-repo - (view)

      When such a role is migrated to Nexus 3 by the upgrade process, this view privilege is omitted, resulting in users assigned that role to not be able to browse the contents of the affected repositories.


      In attached screenshots the "somegroup" role has view and read privileges to the "somegroup" group repository.

      After upgrade, the "somegroup" role only has a read privilege. It should also have a "nx-repository-view-<format>-somegroup-browse" privilege for this group.

      Workaround

      If you have a small number of affected roles, then assign the missing privilege manually to the affected Nexus 3 roles.

      The missing privilege takes the form of this naming pattern:

      nx-repository-view-<repo-format>-<repoid>-browse

      Example:

      nx-repository-view-maven2-company_repo-browse

      Or you can assign view privileges to all repositories by using:

      nx-repository-view-*-*-browse

      If you have a large number of affected roles, then we advise waiting until we fix this issue before upgrading.

       

       

       

        Attachments

          Activity

            People

            • Assignee:
              dbradicich Damian Bradicich
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Joe Tom
              Team:
              NXRM - Tron
            • Votes:
              8 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: