Rocky Series Release Notes¶
1.38.1-6¶
Bug Fixes¶
[bug 1880959] The behavior of policy file reloading from policy directories was fixed. Previously the rules from policy files located in the directories specified in the
policy_dirsoption were not reapplied after the rules from the primary policy file have been reapplied due to a change.
1.38.1¶
Bug Fixes¶
As reported in launchpad bug 1723030, under some circumstances policy checks caused a significant performance degradation. This release includes improved logic around rule validation to prevent that.
1.38.0¶
Nouvelles fonctionnalités¶
[bug 1779172] The
enforce()method now supports the ability to parseoslo.contextobjects if passed intoenforce()ascreds. This provides more consistent policy enforcement for service developers by ensuring the attributes provided in policy enforcement are standardized. In this case they are being standardized through theoslo_context.context.RequestContext.to_policy_values()method.
Bug Fixes¶
[bug 1779172] The
enforce()method now supports the ability to parseoslo.contextobjects if passed intoenforce()ascreds. This provides more consistent policy enforcement for service developers by ensuring the attributes provided in policy enforcement are standardized. In this case they are being standardized through theoslo_context.context.RequestContext.to_policy_values()method.
[bug 1741073] Documentation has been improved to include
oslopolicy-sample-generatorandoslopolicy-list-redundantusage.
1.37.0¶
Bug Fixes¶
[bug 1773473] The
sphinxextextension for rendering policy documentation now supportsscope_typesattributes.
[bug 1771442] Policy rules that are deprecated for removal are now properly formatted when rendering sample policy files for documentation.