Use domain_context not effective domain to display domains list
Use domain_context to decide whether to call domain_list or domain_get
in the list of domains. Previous code used the user's effective domain
instead, which is no longer the same thing with Keystone V3.
Closes-Bug: #1660602
Change-Id: Ie410d282c5b19a061fe83b496785f35bbcfad9ad
(cherry picked from commit 1be065aed8e330c746f85f9600d2c60c4478a661)
Reviewed: https:/ /review. openstack. org/434656 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=30d0a31d413 40d0ad340d12db3 455156b04e71fc
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 30d0a31d41340d0 ad340d12db34551 56b04e71fc
Author: Radomir Dopieralski <email address hidden>
Date: Tue Jan 31 13:01:51 2017 +0100
Use domain_context not effective domain to display domains list
Use domain_context to decide whether to call domain_list or domain_get
in the list of domains. Previous code used the user's effective domain
instead, which is no longer the same thing with Keystone V3.
Closes-Bug: #1660602
Change-Id: Ie410d282c5b19a 061fe83b496785f 35bbcfad9ad 746f85f9600d2c6 0c4478a661)
(cherry picked from commit 1be065aed8e330c