yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11108
[Bug 1284347] Re: Get/v3/users/{userId}/roles, groups, projects http response different when no role, project, group exists
That's not actually in the spec, so a 404 Not Found would be the
expected behavior regardless of the assignments in the system.
https://github.com/openstack/identity-api/blob/master/openstack-
identity-api/v3/src/markdown/identity-api-v3.md
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1284347
Title:
Get/v3/users/{userId}/roles,groups,projects http response different
when no role,project,group exists
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
Get/v3/users/{userId}/roles,groups,projects http response different
when no role,project,group exists
If a domain is created and a user
(userId:78c74e578b7f4516bc604c1e667c8685) is added to the domain - and
there are no role, group, or project associations with the user.
GET /v3/users/78c74e578b7f4516bc604c1e667c8685/roles
Where no roles exists for the user - Response is 404 Not Found.
Similar Get calls such as
GET /v3/users/78c74e578b7f4516bc604c1e667c8685/groups
GET /v3/users/78c74e578b7f4516bc604c1e667c8685/projects
Where no groups exist or projects exist for the user - Response is 200 OK
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1284347/+subscriptions
References