Primary Project should stay selected after user added to new project

Bug #1347840 reported by Cindy Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Justin Pomeroy
Icehouse
Fix Released
Medium
Justin Pomeroy

Bug Description

Prereq: multi domain enabled

== Scenario ==
1. Have a domain with 2 projects, p1 and p2.
2. Create userA and set userA's primary project to p1.
3. Update project members of p2 and add userA as member. Now, userA is part of both projects.
4. Now go to edit password for userA. You'll notice on the modal, that the Primary Project isn't set. You have to *reselect* before you can save. See attached image.

==> The Primary Project should have stayed as p1.

Revision history for this message
Cindy Lu (clu-m) wrote :
Justin Pomeroy (jpomero)
Changed in horizon:
assignee: nobody → Justin Pomeroy (jpomero)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/110410

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/110410
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=03f9caa9d1e43ac4c4db4c10c16e07ca14daaf6e
Submitter: Jenkins
Branch: master

commit 03f9caa9d1e43ac4c4db4c10c16e07ca14daaf6e
Author: Justin Pomeroy <email address hidden>
Date: Tue Jul 29 13:19:19 2014 -0500

    Use default_project_id as user project for keystone v3

    This fixes the keystone api module so that it looks for the
    default_project_id attribute on the user and uses that as the
    primary project.

    Closes-Bug: 1347840
    Change-Id: If3ea4625ae50ae4561df3e566d1236b86226307b

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/110515

Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → juno-3
importance: Undecided → Medium
Akihiro Motoki (amotoki)
tags: added: icehouse-backport-potential
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/icehouse)

Reviewed: https://review.openstack.org/110515
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=dc8e46fae02a3ac76bebc51513bc72d1bd29c58f
Submitter: Jenkins
Branch: stable/icehouse

commit dc8e46fae02a3ac76bebc51513bc72d1bd29c58f
Author: Justin Pomeroy <email address hidden>
Date: Tue Jul 29 13:19:19 2014 -0500

    Use default_project_id as user project for keystone v3

    This fixes the keystone api module so that it looks for the
    default_project_id attribute on the user and uses that as the
    primary project.

    Closes-Bug: 1347840
    Change-Id: If3ea4625ae50ae4561df3e566d1236b86226307b
    (cherry picked from commit 03f9caa9d1e43ac4c4db4c10c16e07ca14daaf6e)

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.