← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1026769] Re: Dashboard should set active project to last used project

 

Users can choose their own default/primary project in the Keystone V3
API, but Horizon doesn't expose this to users yet.

** Changed in: horizon
       Status: In Progress => Opinion

-- 
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/1026769

Title:
  Dashboard should set active project to last used project

Status in OpenStack Dashboard (Horizon):
  Opinion

Bug description:
  Dashboard should remember active project

  ENV: devstack trunk ;
  https://github.com/openstack/horizon/commit/b282751440955e5a912588ad97284b6336913f39

  Repo: always
  1. Create newProject
  2. Add user to the newProject
  3. Log in as user
  4. Switch to oldProject
  5. Log out
  6. Log in

  Actual Result:
  newProject is active, ie project with highest ID always seems to be the active project when logging in.

  Expected Result:
  Logged in to the project most recently active in.

  Addtional details:

  On creating a user why is a "Primary Project" set? Is it really just
  an "add to project"? -- should this be a separate bug to change the
  language? Or should a user be able to update their "primary project"?

  In the case of (super) admins this relates to "Differentiate system-
  wide admins from tenant-specific admins",
  https://blueprints.launchpad.net/nova/+spec/differentiate-admin

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