The original code is monkey-patching keystoneclient object to add a
user_id attribute to it. This no longer works with more recent
versions of keystoneclient, as they wrap the client in a helper
class.
I'm not happy with this solution, it's likely to have side effects
and to break again. I'm putting it up for discussion for a better
solution.
Change-Id: Idb296d1b10fa02a0b4852e96fe8cb2bdd70380e0
Closes-bug: #1776678
(cherry picked from commit bdb3f9d988afa23619af4d8c013ffa062347aa5f)
Reviewed: https:/ /review. openstack. org/614202 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=a2326af5c4c b67bf9cee3a1ea1 4b501cff04a299
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit a2326af5c4cb67b f9cee3a1ea14b50 1cff04a299
Author: Radomir Dopieralski <email address hidden>
Date: Fri Oct 12 12:20:12 2018 +0200
Fix changing user's own password
The original code is monkey-patching keystoneclient object to add a
user_id attribute to it. This no longer works with more recent
versions of keystoneclient, as they wrap the client in a helper
class.
I'm not happy with this solution, it's likely to have side effects
and to break again. I'm putting it up for discussion for a better
solution.
Change-Id: Idb296d1b10fa02 a0b4852e96fe8cb 2bdd70380e0 619af4d8c013ffa 062347aa5f)
Closes-bug: #1776678
(cherry picked from commit bdb3f9d988afa23