← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1406667] Re: Return 400 for invalid filter combinations on /role_assignments API

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => kilo-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1406667

Title:
  Return 400 for invalid filter combinations on /role_assignments API

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  On /v3/role_assignments API, there are two types of invalid filter
  combinations:

  1) Can't combine actors or targets:
  - (domain_id, project_id)
  - (user_id, group_id)

  2) Can't filter results by something that is never returned in effective mode:
  - (effective, group)
  - (effecitve, inherited, domain)

  We need to raise an exception, returning 400 status code when those
  parameters are provided.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1406667/+subscriptions


References