openstack user list --project <p> not showing effective assignments

Bug #1616104 reported by Matthew Edmonds
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

`openstack user list --project <project>` is supposed to filter users by project. It does this by calling GET /v3/role_assignments?scope.project.id={project_id}, and then calling GET /v3/users/{user_id} for each role assignment that was returned. That works great when a user was given an assignment directly... but not when they have an assignment through group membership. This needs to be modified to use the effective query parameter on the role_assignments request, so that all users with roles on the project are returned, not just users with roles that were granted to them directly (which isn't really useful... if you care about that, you're using the role assignment list command).

Revision history for this message
Steve Martinelli (stevemar) wrote :

this was completely reworked in 3.0.1, let me know if it's still an issue

Changed in python-openstackclient:
status: New → Incomplete
Revision history for this message
Matthew Edmonds (edmondsw) wrote :

confirmed that this is still an issue in 3.0.1

Changed in python-openstackclient:
status: Incomplete → New
M V P Nitesh (m-nitesh)
Changed in python-openstackclient:
assignee: nobody → M V P Nitesh (m-nitesh)
M V P Nitesh (m-nitesh)
Changed in python-openstackclient:
assignee: M V P Nitesh (m-nitesh) → nobody
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.