Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5613

[useradm-enterprise] Updating roles with empty list is valid but a noop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Labels:
    • Sprint:
      MEN Sprint 163
    • Story Points:
      1
    • Backlog:
      yes
    • Days in progress:
      1

      Description

      The PUT endpoint for updating roles accepts an empty list of roles and returns 204 (successful) response but no update actually happens.

       

      Acceptance criteria:

      • Return 400 bad request when receiving an empty list.

        Attachments

          Activity

            People

            Assignee:
            kjaskiewicz Krzysztof Jaśkiewicz
            Reporter:
            alfrunes Alf-Rune Siqveland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support