Fix users/projects list when domain context is changed
In case of Keystone Multidomain setup, the project and users list
is empty when the domain context is changed. Horizon uses domain
scoped token for keystone api calls to get list of projects and users.
And domain scoped token cannot get information about projects and users
in other domains, the list is empty.
This patch modifies the use of domain scoped token only when domain
context is not modified.
The bug have 3 parts
1. Users are not listed on GUI in different domain
2. Projects are not listed on GUI in different domain
3. Gui hangs during creation of user/project using + option
This patch handles case 1 and 2.
Reviewed: https:/ /review. opendev. org/697962 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=9aca7a94e28 589484e312770cc 1ee2b8243211bb
Committed: https:/
Submitter: Zuul
Branch: master
commit 9aca7a94e285894 84e312770cc1ee2 b8243211bb
Author: Hemanth Nakkina <email address hidden>
Date: Mon Dec 9 14:59:59 2019 +0530
Fix users/projects list when domain context is changed
In case of Keystone Multidomain setup, the project and users list
is empty when the domain context is changed. Horizon uses domain
scoped token for keystone api calls to get list of projects and users.
And domain scoped token cannot get information about projects and users
in other domains, the list is empty.
This patch modifies the use of domain scoped token only when domain
context is not modified.
The bug have 3 parts
1. Users are not listed on GUI in different domain
2. Projects are not listed on GUI in different domain
3. Gui hangs during creation of user/project using + option
This patch handles case 1 and 2.
Change-Id: Ibafe3e2eb3ee1e e5c9eb5d2a276a0 edfa3e7c607
Partial-Bug: #1826114
Closes-Bug: #1830782