← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1284347] [NEW] Get/v3/users/{userId}/roles, groups, projects http response different when no role, project, group exists

 

Public bug reported:

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

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References