Updates flavor_rxtx to more thoroughly test policy enforcement
by
- making use of RbacMalformedResponse to ensure rxtx_factor
is included in response body
- adding new flavor_rxtx tests
Currently, POST /flavors is not tested as that action also
enforces os-flavor-manage: create, which is admin-only by
default and would therefore fail due to conflicting policy
restrictions. This test will be added once multi-policy
support is available.
Reviewed: https:/ /review. openstack. org/498051 /git.openstack. org/cgit/ openstack/ patrole/ commit/ ?id=bf58a7fe3a2 e03a60d4142b28b 831663ddaf7b68
Committed: https:/
Submitter: Jenkins
Branch: master
commit bf58a7fe3a2e03a 60d4142b28b8316 63ddaf7b68
Author: Samantha Blanco <email address hidden>
Date: Fri Aug 25 14:21:49 2017 -0400
Fix flavor_rxtx_rbac
Updates flavor_rxtx to more thoroughly test policy enforcement sponse to ensure rxtx_factor
by
- making use of RbacMalformedRe
is included in response body
- adding new flavor_rxtx tests
Currently, POST /flavors is not tested as that action also
enforces os-flavor-manage: create, which is admin-only by
default and would therefore fail due to conflicting policy
restrictions. This test will be added once multi-policy
support is available.
Change-Id: I7fb35212fc6bb8 17a2b04077c9838 65e1191f214
Closes-Bug: #1712725