Rocky Series Release Notes

1.38.1-6

Bug Fixes

  • [bug 1880959] The behaviour of policy file reloading from policy directories was fixed. Previously the rules from policy files located in the directories specified in the policy_dirs option 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

New Features

  • [bug 1779172] The enforce() method now supports the ability to parse oslo.context objects if passed into enforce() as creds. This provides more consistent policy enforcement for service developers by ensuring the attributes provided in policy enforcement are standardised. In this case they are being standardised through the oslo_context.context.RequestContext.to_policy_values() method.

Bug Fixes

  • [bug 1779172] The enforce() method now supports the ability to parse oslo.context objects if passed into enforce() as creds. This provides more consistent policy enforcement for service developers by ensuring the attributes provided in policy enforcement are standardised. In this case they are being standardised through the oslo_context.context.RequestContext.to_policy_values() method.

  • [bug 1741073] Documentation has been improved to include oslopolicy-sample-generator and oslopolicy-list-redundant usage.

1.37.0

Bug Fixes

  • [bug 1773473] The sphinxext extension for rendering policy documentation now supports scope_types attributes.

  • [bug 1771442] Policy rules that are deprecated for removal are now properly formatted when rendering sample policy files for documentation.