There are unnecessary api calls when to update user

Bug #1563699 reported by Wang Bo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Wishlist
ChangBo Guo(gcb)

Bug Description

Ref:https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/users.py#L50
With limits of keystoneclient v2.0, current code always call manager.update() and manager.update_tenant() to update user info.
But it does not need both two calls if we only change default_project without other info or change any other info without project.

Wang Bo (chestack)
Changed in horizon:
assignee: nobody → Wang Bo (chestack)
Changed in horizon:
status: New → In Progress
Changed in horizon:
importance: Undecided → Wishlist
milestone: none → next
Changed in horizon:
assignee: Wang Bo (chestack) → ChangBo Guo(gcb) (glongwave)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Wang Bo (<email address hidden>) on branch: master
Review: https://review.openstack.org/292382

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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