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

'Security management: privileges' says id when it means name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.30.0
    • Fix Version/s: 3.40.0
    • Component/s: REST, UI
    • Labels:
    • Environment:
      Chrome MacOSX
    • Story Points:
      1
    • Sprint:
      NXRM Neo Sprint 35, NXRM Neo Sprint 36
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      Description

      Noticed "/v1/security/privileges/

      {privilegeId}

      Retrieve a privilege by id." references UI but the UI fields as well as the REST results, sample and model reference "Name".
      Some other things do have a unique ID different than name, this was my (false) expectation here. When rechecking there's just name, I think this may be a mislabel/trivial/confusion adding bug.

       

      Testing notes

      • Deploy locally nexus and login as admin
      • go to the API section , now you should see everything under the /Security/Privileges API using the PrivilegeName instead of the Id
      • Test the get by id , delete and update API , now it's doing everything using new methods primarily focused on query by the name field instead of the id field

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              leonardor Leonardo Ruiz
              Reporter:
              jtom Joe Tom
              Last Updated By:
              Michael Oliverio Michael Oliverio
              Team:
              NXRM - Neo
              Owner:
              Leonardo Ruiz Leonardo Ruiz
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title