Bug 1201693

Summary: Horizon reacts badly when the "current" project is deleted
Product: Red Hat OpenStack Reporter: Eduard Barrera <ebarrera>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED WONTFIX QA Contact: Ido Ovadia <iovadia>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: aortega, athomas, ipetrova, mchappel, mrunge, rdopiera, srevivo
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-31 14:38:10 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:

Description Eduard Barrera 2015-03-13 09:49:56 UTC
Description of problem:

an admin user is able to delete the current project where he is logged in

Version-Release number of selected component (if applicable):
Openstack 5 and 6

How reproducible:
always

Steps to Reproduce:
1. Create demo user and grup and grant admin to demo
2. Login as demo user
3. Switch to admin tab and delete demo project

Actual results:

you are able to delete the current project you are logged in
horizon is giving up error messages like
  "Error: Unauthorized: Unable to retrieve instances."

Expected results:

To define, for example not beeing able to delete the current project, switch to a list of project you have access, switch to another project

Additional info:

Comment 5 Matthias Runge 2015-12-15 12:09:12 UTC
Re-adjusting target release

Comment 12 Radomir Dopieralski 2017-08-31 14:38:10 UTC
This is a very rare problem that only appears in osp5 and osp6 now, we are not going to be fixing this.