Add common parent owner check for the resources which introduced by
service plugin.
Then port forwarding resource will share the same tenant_id with
floatingip. That means only the fip owner can create/update/get/delete
the associated port forwarding resource.
Reviewed: https:/ /review. openstack. org/585731 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=35d945e92f7 7af1a1051c13158 c67ef3c59e8f6b
Committed: https:/
Submitter: Zuul
Branch: master
commit 35d945e92f77af1 a1051c13158c67e f3c59e8f6b
Author: ZhaoBo <email address hidden>
Date: Wed Jul 25 20:07:18 2018 +0800
Add ext_parent policy check
Add common parent owner check for the resources which introduced by
service plugin.
Then port forwarding resource will share the same tenant_id with update/ get/delete
floatingip. That means only the fip owner can create/
the associated port forwarding resource.
Partially- Implements: blueprint port-forwarding e1d9a6a6224138f 3305427da68
Partial-Bug: #1491317
Change-Id: I450c674e55ca15