Fix users in group and groups for user exact filters
List users in a group by name and list groups for user by name
throws HTTP 500 error in case of exact filters because filter_by
query used in case of exact filter is not able to filter using
'name' attribute.
This patch fixes this issue by replacing filter_by with filter query
in case of exact_filter similar to the inexact_filter query.
Closes-Bug: 1521772
Change-Id: Ib44513540370c0701a439f11a49e0dc338601fae
(cherry picked from commit ee2859a61a0df6636c1c33601d8f3c309f8e6281)
Reviewed: https:/ /review. openstack. org/265236 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=016efe0e595 8fcabb2bdf760b9 f21bc2b2354011
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 016efe0e5958fca bb2bdf760b9f21b c2b2354011
Author: Ankit Agrawal <email address hidden>
Date: Thu Jan 7 05:55:38 2016 -0800
Fix users in group and groups for user exact filters
List users in a group by name and list groups for user by name
throws HTTP 500 error in case of exact filters because filter_by
query used in case of exact filter is not able to filter using
'name' attribute.
This patch fixes this issue by replacing filter_by with filter query
in case of exact_filter similar to the inexact_filter query.
Closes-Bug: 1521772 701a439f11a49e0 dc338601fae 36c1c33601d8f3c 309f8e6281)
Change-Id: Ib44513540370c0
(cherry picked from commit ee2859a61a0df66