Bug 1041944 - [RFE][keystone]: Identity API resources to get lists of users or groups with certain role in project or domain
Summary: [RFE][keystone]: Identity API resources to get lists of users or groups with ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/keys...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 20:12 UTC by RHOS Integration
Modified: 2015-03-19 16:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 16:56:34 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 20:12:44 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/keystone/+spec/project-role-lists.

Description:

This issue appeared during the work on change https://review.openstack.org/#/c/20476/ triggered by Launchpad issue https://bugs.launchpad.net/python-keystoneclient/+bug/1070544.

Original request was to teach /users to accept GET-arguments "role" and "tenant". Dolph Matthews suggested adding new resources to v3 Identity API instead of adding functionality to existing V2 API resource.

Resources proposed by Dolph Matthews are following:
- List users with role on project:
GET /projects/{project_id}/roles/{role_id}/users

- List groups with roles on project:
GET /projects/{project_id}/roles/{role_id}/groups

- List users with roles on domain:
GET /domains/{domain_id}/roles/{role_id}/users

- List groups with roles on domain:
GET /domains/{domain_id}/roles/{role_id}/groups

This will not fix original problem but v2 API is going to be deprecated but the same request will appear for client working with v3 API and it would be good to remove the obstacle now.

Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.