Bug 1736755

Summary: non admin user is kicked out of horizon when clicking on Object Stores > Containers
Product: Red Hat OpenStack Reporter: Jason Grosso <jgrosso>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED CURRENTRELEASE QA Contact: Beth White <beth.white>
Severity: low Docs Contact:
Priority: low    
Version: 15.0 (Stein)CC: athomas, jrist, rdopiera
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-19 13:37:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Grosso 2019-08-01 21:39:16 UTC
Description of problem:

Logged in a non-admin user in my case demo, I clicked on Object Stores > Containers and it immediately kicks me out of the horizon UI back to the RHOS login screen..in the top right of the horizon 


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


How reproducible:


Steps to Reproduce:
1. Login as non-admin user
2. Click Object Stores > Containers
3.

Actual results:
User ends up back at the login screen


Expected results:

User should not be kicked out of Horizon


Additional info:
python3-django-horizon-15.1.1-0.20190701101229.c3ac75e.el8ost.noarch.rpm

The login is  http://10.0.0.147/dashboard/auth/login/

http://10.0.0.147/dashboard/auth/login/   demo/12345678
sshuttle --dns -r root.lab.eng.rdu2.redhat.com 0/0

Comment 1 Radomir Dopieralski 2019-08-05 08:13:18 UTC
I don't have "Object Stores > Containers" on my development installs, do you happen to know which Horizon plugin provides that?

Comment 2 Jason Grosso 2019-08-05 13:54:29 UTC
I apologize I did not add one bit of information...In the top right of the horizon just before being kicked out of the horizon UI, there is a error message saying "unable to get swift container"... I am not testing anything swift or object related I am testing Manila which is the shares as a service (NFS).


I just happened to click Object > Containers and it kicked me out of the UI when I was logged as non-admin user, as an admin user it works fine.

So my assumption is that this is a swift horizon plugin

Comment 3 Radomir Dopieralski 2020-05-19 13:37:04 UTC
Fixed by https://review.opendev.org/#/c/679859/