Bug 984636 - horizon: we create a volume with a different user (under a different tenant) because session is not refreshed
Summary: horizon: we create a volume with a different user (under a different tenant) ...
Keywords:
Status: CLOSED DUPLICATE of bug 984486
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.0
Assignee: RHOS Maint
QA Contact: Ami Jeain
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-15 15:26 UTC by Dafna Ron
Modified: 2015-06-04 21:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-17 11:33:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (12.10 KB, application/x-gzip)
2013-07-15 15:28 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2013-07-15 15:26:59 UTC
Description of problem:

I opened a browser with two tabs both for openstack dashboard. 
in one session I logged in with user admin -> moved to the volumes tab under project view
In the second session I logged in with a different user for a different tenant. 

I went back to the first session and pressed the create volume button and created a volume. 
the volume that was created was created with the second user on the second tenant (from the second tab)

Version-Release number of selected component (if applicable):

python-django-horizon-2013.1.2-1.el6ost.noarch

How reproducible:

100%

Steps to Reproduce:
1. create a tenant and a user with member permissions of the tenant
2. open firefox with two tabs pointing on openstack dashboard. 
3. in the first tab, log in as user admin -> in project view select volumes tab
4. in the second firefox tab, login with the new user
5. go back to the first firefox tab (one with admin login) -> create new volume 

Actual results:

we are creating a new volume but its created under the second tenant (the one we logged into in the second tab) and not under the admin tenant. 

Expected results:

if we ran over the cookies and are now logged in under a different user we should redirect to the main login page and not create a new object. 

Additional info:

Comment 1 Dafna Ron 2013-07-15 15:28:33 UTC
Created attachment 773815 [details]
logs

Comment 2 Julie Pichon 2013-07-17 11:33:25 UTC
Please, use 2 browsers to work as 2 different users at the same time.

*** This bug has been marked as a duplicate of bug 984486 ***


Note You need to log in before you can comment on or make changes to this bug.