Clarify policy_file configuration option help text
This options help text was ambiguous and didn't really give readers a good idea of what policies were or if the path could be relative, absolute, or both. This commit attempts to clarify the help text a little bit so that readers have a little more to go on. Change-Id: Icda67f07f0ef5ee256113634d29f4662b48140cc
This commit is contained in:
parent
5d2b7a8634
commit
1e3f81c89b
@ -36,7 +36,10 @@ _options = [
|
||||
'invoked with mismatching scope.')),
|
||||
cfg.StrOpt('policy_file',
|
||||
default='policy.json',
|
||||
help=_('The file that defines policies.'),
|
||||
help=_('The relative or absolute path of a file that maps '
|
||||
'roles to permissions for a given service. Relative '
|
||||
'paths must be specified in relation to the '
|
||||
'configuration file setting this option.'),
|
||||
deprecated_group='DEFAULT'),
|
||||
cfg.StrOpt('policy_default_rule',
|
||||
default='default',
|
||||
|
Loading…
x
Reference in New Issue
Block a user