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

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

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • 3.40.0
    • 3.30.0
    • REST, UI
    • Chrome MacOSX
    • 1
    • NXRM Neo Sprint 35, NXRM Neo Sprint 36
    • 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

              leonardor Leonardo Ruiz
              jtom Joe Tom
              Rich Seddon Rich Seddon
              NXRM - Neo
              Leonardo Ruiz Leonardo Ruiz
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title