GET v3/roles/​{role_id}​/users Lists users with a specified role.

Bug #1284895 reported by Haneef Ali
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
High
Diane Fleming

Bug Description

This api is in the doc, but not in code

Revision history for this message
Haneef Ali (haneef) wrote :
Revision history for this message
Dolph Mathews (dolph) wrote :

The referenced API (GET /v3/roles/​{role_id}​/users) doesn't actually exist in the spec [1] and should be removed from the API site... preferably in favor of documenting GET /v3/role_assignments [2] (which supports the same apparent use case but is much more powerful as it supports a number of query filters - including filtering assignments by role ID).

[1]: https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md
[2]: https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md#list-effective-role-assignments-get-role_assignments

affects: keystone → openstack-api-site
Changed in openstack-api-site:
status: New → Confirmed
Changed in openstack-api-site:
importance: Undecided → High
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → icehouse
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

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

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
Diane Fleming (diane-fleming) wrote :
Changed in openstack-manuals:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → icehouse
no longer affects: openstack-manuals
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/80813
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=52e0977997b45146b9b5a8fdd033c1161b3e9093
Submitter: Jenkins
Branch: master

commit 52e0977997b45146b9b5a8fdd033c1161b3e9093
Author: Diane Fleming <email address hidden>
Date: Sat Mar 15 19:27:15 2014 -0500

    Remove GET v3/roles/{role_id}/users and add GET v3/role_assignments

    Remove non-existent operation (GET v3/roles/{role_id}/users
    Add missing GET v3/role_assignments

    Closes-Bug: #1284895

    Change-Id: Iffbc6325bf9a32a21662a2bad256ed9f55689460
    author: diane fleming

Changed in openstack-api-site:
status: In Progress → 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.