yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03763
[Bug 1183433] Re: GET /roles/{role_id}/users does not work as advertised
** Changed in: keystone
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1183433
Title:
GET /roles/{role_id}/users does not work as advertised
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
The v3 api describes this api as follows:
List users with a role: GET /roles/{role_id}/users
query_string: page (optional) query_string: per_page (optional,
default 30) query filter for "name", "enabled", "email" (optional)
Response:
Status: 200 OK
[
{
"default_project_id": "--default-project-id--",
"description": "a user",
"domain_id": "--domain-id--",
"email": "...",
"enabled": true,
"id": "--user-id--",
"links": {
"self": "http://identity:35357/v3/users/--user-id--"
},
"name": "admin"
},
{
"default_project_id": "--default-project-id--",
"description": "another user",
"domain_id": "--domain-id--",
"email": "...",
"enabled": true,
"id": "--user-id--",
"links": {
"self": "http://identity:35357/v3/users/--user-id--"
},
"name": "someone"
}
]
In reality we don't support this call in either the v2 or v3 apis -
and it was meant to have been removed I think as part of the move away
from global roles. Unlike the related bug for GET
/user/{user_id}/roles
(https://bugs.launchpad.net/keystone/+bug/1183430 - which I think we
should still support), I am not sure we really should continue to
support the call above. If we did, then the output would need to
somehow contain the target of the assignment.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1183433/+subscriptions