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

No permission available to allow update of staging repository description

    XMLWordPrintable

    Details

      Description

      Updating a staging repository's description requires a PUT request to /service/local/staging/repository/<repo-id>. From the source code it can be seen that this requires update privileges to "nexus:stagingprofilerepos".

      However, the security.xml file for staging does not provide an update privilege for this resource, it only has read resources.

      Consequentially, it seems that you can only update staging repository descriptions if you have administrator role in the server.

      If my assessment above is correct then this can be fixed by adding a privilege definition in the security.xml file which allows update.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title