*** This bug is a duplicate of bug 1252341 ***
    https://bugs.launchpad.net/bugs/1252341

** This bug has been marked a duplicate of bug 1252341
   Horizon crashes when removing logged user from project

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1166585

Title:
  User is able to still use deleted project when set as current project

Status in OpenStack Dashboard (Horizon):
  Confirmed

Bug description:
  Description:
  If we delete an project with an active user which is using the project, the 
user can still use the project by going back to project management and create 
instances, which are unable to be deleted in a later stadium.

  Release found:
  A customized version of Folsom

  Steps to reproduce:
  1. Go to Admin panel > Projects
  2. Create a project named "sam", add admin user to the project with the admin 
role
  3. Click on Project management
  4. Set the current active project to "sam"
  5. Go to on Admin panel > Projects
  6. Delete the project called "sam"
  7. Go back to Project management
  8. Launch an instance

  Current result:
  I was able to go back to the sam project and create an instance in a 
non-existent project. If you then logout with the admin user and login again 
its impossible to find/delete the instance. nova list also doesn't show , the 
only way to delete it is with nova delete {{uuid}} but for this you need to 
know the uuid.

  Expected result:
  TO DISCUSS: I came up with two possiblities
  1. Automatically logout if the project doesn't exist anymore
  2  Or when deleting a project update the authorized_tenants and the 
user.tenant_name and user.tenant_id attributes. So that when the user goes back 
to Project management another(non-deleted) project will get set as active 
project for the user. A user shouldn't be able to have a non-existent project 
as active project in horizon

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1166585/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to