sample-generator makes deprecated and active directives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.policy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
By default, in oslo.policy 3.8.2 at least, oslopolicy-
For example, with Nova 24.0.0, we get:
# DEPRECATED
# "rule:admin_
# favor of "system_
# Nova API policies are introducing new default roles with scope_type
# capabilities. Old policies are deprecated and silently going to be
# ignored in nova 23.0.0 release.
"rule:admin_api": "rule:system_
That last line just above should be commented out. Using the default, untouched, oslopolicy-
As a package maintainer, I do generate policy files over here (example with Nova):
/etc/nova/
I do expect Debian users to just use that file as a convenient example, that's just working, and showing what the defaults are. But that's not the case, and that's breaking both my expectation as a package maintainer, and what a user would expect.
Please make the generated file work by default, and showing what the defaults really are.
Fix proposed to branch: master /review. opendev. org/c/openstack /oslo.policy/ +/830514
Review: https:/