Merge "Use enforce_new_defaults when setting up keystone protection tests"

This commit is contained in:
Zuul 2021-02-05 06:45:20 +00:00 committed by Gerrit Code Review
commit d67975e7b9
1 changed files with 1 additions and 1 deletions

View File

@ -14,9 +14,9 @@
function configure_enforce_scope { function configure_enforce_scope {
iniset $KEYSTONE_CONF oslo_policy enforce_scope true iniset $KEYSTONE_CONF oslo_policy enforce_scope true
iniset $KEYSTONE_CONF oslo_policy enforce_new_defaults true
iniset $KEYSTONE_CONF oslo_policy policy_file policy.yaml iniset $KEYSTONE_CONF oslo_policy policy_file policy.yaml
sudo systemctl restart devstack@keystone sudo systemctl restart devstack@keystone
oslopolicy-policy-generator --namespace keystone > /etc/keystone/policy.yaml
} }
function configure_protection_tests { function configure_protection_tests {