keystone-manage2 does not list granted roles

Bug #923933 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Dolph Mathews

Bug Description

RCB has complained that the revised keystone-manage implementation does not provide a "list" or "show" complement to the "grant_role" and "revoke_role" commands (e.g. "list_granted_roles" or "list_role_grants").

This was an oversight in the implementation which breaks usability, as the only way to check from the CLI if a role has been granted to a user is to 1) attempt to grant it, 2) check for failure (IntegrityError), and 3) immediately revoke it you did not desire to actually grant it... not a pretty pattern.

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

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

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

Reviewed: https://review.openstack.org/3553
Committed: http://github.com/openstack/keystone/commit/1ea4e4fe90a209b185037932e88f4423192ca9aa
Submitter: Jenkins
Branch: master

commit 1ea4e4fe90a209b185037932e88f4423192ca9aa
Author: Dolph Mathews <email address hidden>
Date: Mon Jan 30 14:51:55 2012 -0600

    Added keystone-manage list_role_grants (bug 923933)

    Change-Id: I213b47240fa1211bafe7895fc01c5c6e888d3c35

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-4 → 2012.1
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.