mirror of
https://opendev.org/openstack/openstack.git
synced 2026-01-16 23:02:00 +00:00
Update git submodules
* Update neutron from branch 'master'
to a48b715e8b1ea0ef1e316637df29dc040007b20c
- [S-RBAC] Fix tests for port RBAC policies
Exisitng tests didn't mock "get_network" function properly thus
there was no "network:tenant_id" field in the target object set and
OwnerCheck check was failing for the "net_owner".
Unit tests were green because they badly expected e.g. for the
ProjectMember that e.g. port with given fixed_ip or mac_address will not
be allowed (exception was raised because net_owner check failed) even
thoug it should be possible through the net_owner rule in policy.
This patch fixes mocking get_network function in unit tests module for
the port RBAC policies and it also updates unit tests accordingly to
make them pass.
Change-Id: I4c26403e237afdb8934dda65fef3b12c99a5f689
Signed-off-by: Slawek Kaplonski <skaplons@redhat.com>
This commit is contained in:
parent
36ab1bc834
commit
d24644b087
1 changed files with 1 additions and 1 deletions
2
neutron
2
neutron
|
|
@ -1 +1 @@
|
|||
Subproject commit e0ca9a0d68fbbcb98820f488accf2f84fb8c9639
|
||||
Subproject commit a48b715e8b1ea0ef1e316637df29dc040007b20c
|
||||
Loading…
Add table
Reference in a new issue