python keystone v3 client RoleAssignmentManager needs to pass include_subtree

Bug #1462694 reported by Dan Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Wishlist
Dan Nguyen
python-keystoneclient
Fix Released
Low
Dan Nguyen

Bug Description

In order for a Domain Admin to successfully list the role assignments in the v3 api we need to pass a new request parameter to the api. Horizon depends on this for domain support.

The call looks like this

 GET /v3/role_assignments?scope.domain.id=id&include_subtree

and the results will return all the project role_assignments for the domain id.
This can be further filters by project id in the client code.

This is related to https://bugs.launchpad.net/keystone/+bug/1437407

Changed in keystone:
assignee: nobody → Dan Nguyen (daniel-a-nguyen)
summary: python keystone v3 client RoleAssignmentManager needs to pass
+ include_subtree
Revision history for this message
Chenhong Liu (liuchenhong) wrote :

guang-yee already submit a patch for this future:
https://review.openstack.org/#/c/180846/

Revision history for this message
Rodrigo Duarte (rodrigodsousa) wrote :

Hi, don't think is the same issue as the review posted here. But is the same idea of this spec: https://review.openstack.org/#/c/187045/

Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Wishlist
Dolph Mathews (dolph)
tags: added: hierarchical-multitenancy
Revision history for this message
Steve Martinelli (stevemar) wrote :
Changed in keystone:
status: New → Invalid
Changed in python-keystoneclient:
importance: Undecided → Low
assignee: nobody → Dan Nguyen (daniel-a-nguyen)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/188184
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=7ff3955665b64e59db8bf1668ae5d7839bb6b730
Submitter: Jenkins
Branch: master

commit 7ff3955665b64e59db8bf1668ae5d7839bb6b730
Author: daniel-a-nguyen <email address hidden>
Date: Wed Jun 3 14:39:34 2015 -0700

    Add include_subtree to role_list_assignments call

    This is needed for Domain Admin to list role assignments.

    Related-Bug: 1437407
    Depends-On: I3495c7cab3b40811b2722ac7d70ddda30410b62b

    Closes-Bug: #1462694
    Change-Id: I63849d5f39d090fec3ef6b9182f339e198e0c551

Changed in python-keystoneclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-keystoneclient 2.1.0

This issue was fixed in the openstack/python-keystoneclient 2.1.0 release.

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.