[Bug 1382079] Re: Project selector not working
Liang Chen
liang.chen at canonical.com
Tue Mar 15 08:53:43 UTC 2016
** Description changed:
[Impact]
- * Not able to switch projects by the project dropdown list.
+ * Not able to switch projects by the project dropdown list.
[Test Case]
- 1 - Log in on Horizon
- 2 - make sure that the SESSION_BACKEND is "signed_cookies"
- 3 - Try to change project on the dropdown
+ 1 - enable Identity V3 in local_settings.py
+ 2 - Log in on Horizon
+ 3 - make sure that the SESSION_BACKEND is "signed_cookies"
+ 4 - Try to change project on the dropdown
[Regression Potential]
- * None
-
+ * None
When you try to select a new project on the project dropdown, the
project doesn't change. The commit below has introduced this bug on
Horizon's master and has passed the tests verifications.
https://github.com/openstack/horizon/commit/16db58fabad8934b8fbdfc6aee0361cc138b20af
For what I've found so far, the context being received in the decorator
seems to be the old context, with the token to the previous project.
When you take the decorator out, the context received by the
"can_access" function receives the correct context, with the token to
the new project.
Steps to reproduce:
1 - Enable Identity V3 (to have a huge token)
2 - Log in on Horizon (lots of permissions loaded on session)
3 - Certify that you SESSION_BACKEND is "signed_cookies"
4 - Try to change project on the dropdown
The project shall remain the same.
** Tags added: sts
** Changed in: horizon (Ubuntu Vivid)
Assignee: (unassigned) => Liang Chen (cbjchen)
** Changed in: horizon (Ubuntu Vivid)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1382079
Title:
Project selector not working
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1382079/+subscriptions
More information about the Ubuntu-server-bugs
mailing list