Comment 10 for bug 1278920

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit ed43be0a0f40c4b065472da27e6ef6e59a6789ca
Author: Rodrigo Duarte Sousa <email address hidden>
Date: Tue Jun 10 10:22:51 2014 -0300

    Fixes bad performance when editing project members

    The bug is caused by consecutive client calls when
    fetching users' roles in a project.

    The fix was to use the /v3/role_assignments endpoint.
    Which retrieves all roles in a single client call
    (dashboards/admin/projects/workflows.py:
    UpdateProjectGroupsAction and UpdateProjectUsersAction).

    The compatibility to the previous keystoneclient version
    is maintained.

    In a scenario with 1000 users with a role in a project
    (using devstack), the time to render the Modify Users
    page dropped from 45s to 2.5s

    Change-Id: Ic72ebea0db226faf98c5e04d00d76dedd1fb01c1
    Closes-bug: #1278920