cinder/doc/source/sample_policy.rst
Masayuki Igawa ace85a005d
Fix 'D005 No newline at end of file' Error
This commit fixes an error - 'D005 No newline at end of file' below.

  cinder/doc/source/sample_policy.rst:17:
               D005 No newline at end of file

Change-Id: I9051b30da01d81dfb966613decf225804b3b9c0e
2017-11-15 16:43:02 +09:00

19 lines
824 B
ReStructuredText

====================
Cinder Sample Policy
====================
The following is a sample Cinder policy file that has been auto-generated
from default policy values in code. If you're using the default policies, then
the maintenance of this file is not necessary.
It is here to help explain which policy operations protect specific Cinder API,
but it is not suggested to copy and paste into a deployment unless you're planning
on providing a different policy for an operation that is not the default. For
instance, if you want to change the default value of "volume:create", you only
need to keep this single rule in your policy config
file (**/etc/cinder/policy.json**).
The sample policy file can also be viewed in `file form <_static/cinder.policy.yaml.sample>`_.
.. literalinclude:: _static/cinder.policy.yaml.sample