yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26557
[Bug 1406667] [NEW] Return 400 for invalid filter combinations on /role_assignments API
Public bug reported:
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, inherited)
- (effective, group)
- (effecitve, domain)
We need to raise an exception, returning 400 status code when those
parameters are provided.
** Affects: keystone
Importance: Undecided
Assignee: Samuel de Medeiros Queiroz (samuel-z)
Status: New
** Changed in: keystone
Assignee: (unassigned) => Samuel de Medeiros Queiroz (samuel-z)
--
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):
New
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, inherited)
- (effective, group)
- (effecitve, 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
Follow ups
References