Merge "Use enforce_new_defaults when setting up keystone protection tests"
This commit is contained in:
commit
d67975e7b9
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user