Add RBAC scope and new defaults setting support for placement
Adding devstack flag to enable and test the Placement API policies
scope and new defaults.
Depends-On: https://review.opendev.org/c/openstack/tempest/+/866212
Change-Id: I6f56fc28f2c1e4cdde946deb2ae06afddf85ff0d
diff --git a/lib/tempest b/lib/tempest
index b232f24..5cd4d18 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -678,6 +678,10 @@
iniset $TEMPEST_CONFIG enforce_scope nova true
fi
+ if [[ "$PLACEMENT_ENFORCE_SCOPE" == True || "$ENFORCE_SCOPE" == True ]] ; then
+ iniset $TEMPEST_CONFIG enforce_scope placement true
+ fi
+
if [[ "$GLANCE_ENFORCE_SCOPE" == True || "$ENFORCE_SCOPE" == True ]] ; then
iniset $TEMPEST_CONFIG enforce_scope glance true
fi