
This patch adds short document with description of the roles supported by the default Neutron's API policies. Change-Id: Id8106478fc32cd2da283fa4b5763d535372127a6
31 lines
801 B
ReStructuredText
31 lines
801 B
ReStructuredText
.. _Policy Reference:
|
|
|
|
================
|
|
Policy Reference
|
|
================
|
|
|
|
.. warning::
|
|
|
|
JSON formatted policy file is deprecated since Neutron 18.0.0 (Wallaby).
|
|
This `oslopolicy-convert-json-to-yaml`__ tool will migrate your existing
|
|
JSON-formatted policy file to YAML in a backward-compatible way.
|
|
|
|
.. __: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html
|
|
|
|
Neutron, like most OpenStack projects, uses a policy language to restrict
|
|
permissions on REST API actions.
|
|
|
|
The following is an overview of all available policies in neutron.
|
|
|
|
.. only:: html
|
|
|
|
For a sample policy file, refer to :doc:`/configuration/policy-sample`.
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
|
|
policy-sample
|
|
|
|
.. show-policy::
|
|
:config-file: etc/oslo-policy-generator/policy.conf
|