commit 35beca53277d187af0ade05466e81699c6575b07
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.
Reviewed: https:/ /review. openstack. org/248024 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=35beca53277 d187af0ade05466 e81699c6575b07
Committed: https:/
Submitter: Jenkins
Branch: master
commit 35beca53277d187 af0ade05466e816 99c6575b07
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
Closes-Bug: #1517818