Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-6999

[core] Deleting admin user message yes button keeps circling

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0
    • Component/s: core.api
    • Labels:
      None

      Description

      OS:Browser info: Windows 7: IE 11/Chrome 58.0.3029.110 (64-bit)

      Steps to reproduce:

      1. On the top right corner, click "your user name" --> "Manage Users"
      2. select your own login user from user list, and click "Delete"

      Expected behaviour: A Message "you cannot remove yourself"

      Actual behaviour: I get the loading button circling with a 401 error. i do see the response data with the actual message

      Request URL:http://<hostname>/useradmin/users/delete
      Request Method:POST
      Status Code:401 OK
      
      Response data:
      {
      "message": "You cannot remove yourself.", 
      "traceback": [], 
      "detail": null, 
      "is_embeddable": false, 
      "title": "Error"
      }
      

      Attached the screen shot

        Attachments

          Activity

            People

            • Assignee:
              yingc Ying Chen
              Reporter:
              yingc Ying Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: