Adding agents as admin for data manager throws errors intermittently

XMLWordPrintable

    • 4
    • Minor
    • 0

      Issue Summary

      When adding agents as admins to Data Manager you might get "Something went wrong, please contact support"

      Steps to Reproduce

      1. Add agent as admin or adapter admin to Data Manager

      Expected Results

      The user should be added successfully to the role

      Actual Results

      Some users get intermittent "Something went wrong" popup

      We can see that from the endpoint "v1/config/perms/role-assignment" we get a 400 response code and the following response payload:

      {
        "errorMessages": [
          "User or Group could not be assigned to Role."
        ],
        "errors": {}
      } 

      Workaround

      You must remove every inactive user that is already associated with an Asset Data Manager Role (Data Manager admin, Adapters admin, Dashboards viewer, Dashboards editor).

            Assignee:
            Bhavesh Agarwal
            Reporter:
            Mikhael Markov
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: