← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1561107] Re: User with a non-existent domain is logged out when viewing user list

 

"domain" is not a valid attribute for "user" and "domain_id" is used.
This is completely due to misoperation and is not a horizon bug.

[1] https://developer.openstack.org/api-
ref/identity/v3/index.html?expanded=create-user-detail#create-user

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1561107

Title:
  User with a non-existent domain is logged out when viewing user list

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  While i was testing and playing around with the Identity v3 api i
  managed to break the permissions to the User page in the horizon UI by
  accidentally setting a newly created user's domain to '{}'.

  Once the user is set with the incorrect domain any navigation to the
  user list in horizon will log you out continuously unless you break
  the cycle by removing the login redirect URL in the address bar.

  During this time i didn't  loose by ability to administer users
  through the Identity v3 api. Deleting the bugged user resulted in
  normal operation. I imagine updating the user's domain  would have
  yielded the same results as deleting the user.

  sample json that caused the error while posting to /v3/users
  {"user":
  {"name":"TestUser","password":"thisismypassword","domain":{},"domain_id":"default"}}

  when i query the user list through postman you can see that the domain is set incorrectly
  {
  "domain": {},
        "name": "TestUser",
        "links": {
          "self": "someurl"
        },
        "enabled": true,
        "id": "someid",
        "domain_id": "default"
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1561107/+subscriptions


References