diff --git a/magnum/common/policy.py b/magnum/common/policy.py index 25cb3c7b39..c11afce864 100644 --- a/magnum/common/policy.py +++ b/magnum/common/policy.py @@ -33,14 +33,12 @@ _ENFORCER = None CONF = cfg.CONF # TODO(ricolin): Remove overriding the default value of config options -# 'policy_file', 'enforce_scope', and 'enforce_new_defaults' once -# oslo_policy change their default value to what is overridden here. +# 'policy_file' once oslo_policy change its default value to what +# is overridden here. DEFAULT_POLICY_FILE = 'policy.yaml' opts.set_defaults( CONF, - DEFAULT_POLICY_FILE, - enforce_scope=True, - enforce_new_defaults=True + DEFAULT_POLICY_FILE ) diff --git a/requirements.txt b/requirements.txt index dbeaa37797..c02ab2f98d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,7 +30,7 @@ oslo.i18n>=5.0.0 # Apache-2.0 oslo.log>=4.8.0 # Apache-2.0 oslo.messaging>=14.1.0 # Apache-2.0 oslo.middleware>=4.1.0 # Apache-2.0 -oslo.policy>=3.11.0 # Apache-2.0 +oslo.policy>=4.4.0 # Apache-2.0 oslo.reports>=2.1.0 # Apache-2.0 oslo.serialization>=3.2.0 # Apache-2.0 oslo.service>=2.2.0 # Apache-2.0