Clarify enforce_new_defaults help text

The help text isn't clear what happens when enforce_new_defaults is
False, which is the default behavior. Explicity call that out in the
help text since it's important for users to understand that behavior.

Change-Id: Iaed5682bc72f4c66adb9a40c6510b399314574df
This commit is contained in:
Lance Bragstad 2021-09-09 19:11:42 +00:00
parent c7fd9f4fcd
commit a0e407e692
1 changed files with 5 additions and 1 deletions

View File

@ -44,7 +44,11 @@ _options = [
'defaults, it will be disallowed. It is encouraged to '
'enable this flag along with the ``enforce_scope`` '
'flag so that you can get the benefits of new defaults '
'and ``scope_type`` together')),
'and ``scope_type`` together. If ``False``, the '
'deprecated policy check string is logically OR\'d '
'with the new policy check string, allowing for a '
'graceful upgrade experience between releases with '
'new policies, which is the default behavior.')),
cfg.StrOpt('policy_file',
default='policy.json',
help=_('The relative or absolute path of a file that maps '