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

Content selector privileges allow spaces between actions, invalid actions

    XMLWordPrintable

    Details

    • Notability:
      4

      Description

      When you create a content selector privilege you need to enter the actions as a comma separated list. If you put spaces between the items in the list it breaks the privilege, retrieving it through the privileges rest API will not show all actions.  Additionally, no validation is done of the strings entered to make sure the actions are valid.

      Expected:  Only valid entries should be allowed.  If spaces are not supported, they should not be allowed.  If they are supported they should work properly.

      Even better...  provide checkboxes for the valid options, and don't use free form text entry, so it will be obvious what is supported and invalid entries will be impossible

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Michael Oliverio Michael Oliverio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title