]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix use of fields argument in get_rbac_policies
authorKevin Benton <blak111@gmail.com>
Fri, 20 Nov 2015 04:37:05 +0000 (20:37 -0800)
committerKevin Benton <blak111@gmail.com>
Fri, 20 Nov 2015 04:45:28 +0000 (20:45 -0800)
commit09c032fa4e5177dea63e6139429309a11e62c65f
treee166c284bd436dbc71aed96d6d28a9631772df68
parentbdfeee1f171f8b97e92da58f49443dfbaaf63b86
Fix use of fields argument in get_rbac_policies

The 'fields' argument wasn't being passed into the _get_collection
call so the results were always coming back with all of the fields.
This adds an API test to prevent a regression.

Change-Id: Iddef9dcc7639a557a9d19dc7265f10f98e002172
Closes-Bug: #1517815
neutron/db/rbac_db_mixin.py
neutron/tests/api/admin/test_shared_network_extension.py