Missing inherited info/option when listing role assignments

Bug #1370546 reported by Samuel de Medeiros Queiroz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Samuel de Medeiros Queiroz

Bug Description

Python-openstackclient should add inherited information when listing role assignments.

$ openstack role assignment list

+----------------------------------+----------------------------------+-------+----------------------------------+----------------------------------+-----------+
| Role | User | Group | Project | Domain | Inherited |
+----------------------------------+----------------------------------+-------+----------------------------------+----------------------------------+-----------+
| 88575cb7c7a4471b896763589c12ee9c | 3058452352e64caa9aa7af0bb6e5407c | | 159a58a6aa874ee2862912b37acbc2f3 | | False |

In addition, once 'List inherited role assignments for domains available on keystone API but not on client' [1] is on python-keystoneclient, python-openstackclient should be able to filter only inherited role assignments.

$ openstack role assignment list --inherited
+----------------------------------+----------------------------------+-------+----------------------------------+--------+-----------+
| Role | User | Group | Project | Domain | Inherited |
+----------------------------------+----------------------------------+-------+----------------------------------+--------+-----------+
| 265d9cf130304c05a3e2072e097acf3a | fecbefc582044332be6b587edf01ea25 | | 159a58a6aa874ee2862912b37acbc2f3 | | True |
+----------------------------------+----------------------------------+-------+----------------------------------+--------+-----------+

The patch for this bug must add such support as well as its related tests on python-openstackclient v3.

[1] https://review.openstack.org/#/c/117300/

Changed in python-openstackclient:
assignee: nobody → Samuel de Medeiros Queiroz (samuel-z)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

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

Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
Dean Troyer (dtroyer) wrote :

Reopen if the review is resurrected

Changed in python-openstackclient:
status: In Progress → Invalid
Changed in python-openstackclient:
status: Invalid → In Progress
Changed in python-openstackclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/122179
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=94a8805a9a96daa2ada2b38db1fac86e06525620
Submitter: Jenkins
Branch: master

commit 94a8805a9a96daa2ada2b38db1fac86e06525620
Author: Samuel de Medeiros Queiroz <email address hidden>
Date: Wed Sep 17 12:03:19 2014 -0300

    Inherited info/option when listing role assignment

    Adds inherited information when listing role
    assignments. In addition, it makes possible
    to list only inherited ones by adding
    --inherited option.

    Change-Id: Idf889603d584716da95e2c7b4880142fbd8291c4
    Closes-Bug: 1370546

Changed in python-openstackclient:
status: In Progress → Fix Committed
Changed in python-openstackclient:
milestone: none → 1.6.0
status: Fix Committed → Fix Released
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.