commit 8c09277728ab52c0733aaac8e0255e0240b460e7
Author: Kevin Benton <email address hidden>
Date: Thu Nov 19 21:16:42 2015 -0800
Add UnionModel support to filter query generator
The _apply_filters_to_query method did not handle UnionModels
so objects leveraging it (i.e. RBAC policies) did not have
queries applied to them.
This patch corrects it by iterating through the component models
of the UnionModel and applying the filters to each component model.
It also adds an API test on RBAC that exercises the filtering.
Change-Id: I449acf359dd61189bbdacd200d7c41a4a88d3de8
Closes-Bug: #1517818
(cherry-picked from 35beca53277d187af0ade05466e81699c6575b07)
Reviewed: https:/ /review. openstack. org/250124 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=8c09277728a b52c0733aaac8e0 255e0240b460e7
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 8c09277728ab52c 0733aaac8e0255e 0240b460e7
Author: Kevin Benton <email address hidden>
Date: Thu Nov 19 21:16:42 2015 -0800
Add UnionModel support to filter query generator
The _apply_ filters_ to_query method did not handle UnionModels
so objects leveraging it (i.e. RBAC policies) did not have
queries applied to them.
This patch corrects it by iterating through the component models
of the UnionModel and applying the filters to each component model.
It also adds an API test on RBAC that exercises the filtering.
Change-Id: I449acf359dd611 89bbdacd200d7c4 1a4a88d3de8 af0ade05466e816 99c6575b07)
Closes-Bug: #1517818
(cherry-picked from 35beca53277d187