This fixes the logic to allow updates to wildcard RBAC external
policies. It was broken for two reasons: first, it was using the
wrong kwarg, second, it wasn't considering the target tenant when
determining if the policy was required.
This patch fixes both issues and adds an API test exercising the
update path.
Closes-Bug: #1577100
Change-Id: Id7441ab5c3f3667aa1cc48100286a2a9d480e201
(cherry picked from commit 89297919a73c1e7f86c61d08f3f3d15278f5763a)
Reviewed: https:/ /review. openstack. org/315264 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c98c866e8c9 e0c136791832bb3 2e28623aee5ea5
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit c98c866e8c9e0c1 36791832bb32e28 623aee5ea5
Author: Kevin Benton <email address hidden>
Date: Fri Apr 29 23:24:34 2016 -0700
Fix update target tenant RBAC external path
This fixes the logic to allow updates to wildcard RBAC external
policies. It was broken for two reasons: first, it was using the
wrong kwarg, second, it wasn't considering the target tenant when
determining if the policy was required.
This patch fixes both issues and adds an API test exercising the
update path.
Closes-Bug: #1577100 7aa1cc48100286a 2a9d480e201 f86c61d08f3f3d1 5278f5763a)
Change-Id: Id7441ab5c3f366
(cherry picked from commit 89297919a73c1e7