Fix failing neutron port tests for Member role.
Currently, 4 tests related to neutron ports are failing:
- get_port:binding:host_id
- get_port:binding:profile
- get_port:binding:vif_details
- get_port:binding:vif_type
These tests fail because while the endpoint does not throw a 403
or 404, the response body does not contain the field in question.
Hence, this patch throws an RbacActionFailed exception when
the field is hidden, resolving the bug.
Change-Id: I02d5c22bc2672540f2f8d537edbcea8d1ba9910d
Partial-Bug: #1670553
1 file changed