[Bug 1382079] Re: [SRU] Project selector not working
Corey Bryant
corey.bryant at canonical.com
Tue May 17 12:29:31 UTC 2016
** Summary changed:
- Project selector not working
+ [SRU] Project selector not working
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1382079
Title:
[SRU] Project selector not working
Status in Ubuntu Cloud Archive:
Invalid
Status in Ubuntu Cloud Archive kilo series:
In Progress
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in horizon package in Ubuntu:
Fix Released
Status in horizon source package in Vivid:
Won't Fix
Status in horizon source package in Wily:
Fix Released
Status in horizon source package in Xenial:
Fix Released
Bug description:
[Impact]
* Not able to switch projects by the project dropdown list.
[Test Case]
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
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1382079/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list