Merge "Fix minor points in the policy doc"

This commit is contained in:
Zuul 2021-04-07 18:51:08 +00:00 committed by Gerrit Code Review
commit 5eafe66d40
1 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ Policy file maintenance
.. code-block:: console .. code-block:: console
oslopolicy-sample-generator --namespace keystone \ oslopolicy-sample-generator --namespace $PROJECT \
--output-file openstack_dashboard/conf/${PROJECT}_policy.yaml --output-file openstack_dashboard/conf/${PROJECT}_policy.yaml
sed -i 's/^"/#"/' openstack_dashboard/conf/${PROJECT}_policy.yaml sed -i 's/^"/#"/' openstack_dashboard/conf/${PROJECT}_policy.yaml
@ -261,7 +261,7 @@ After syncing policies from back-end services, you need to check what are
changed. If a policy referred by horizon has been changed, you need to check changed. If a policy referred by horizon has been changed, you need to check
and modify the horizon code base accordingly. and modify the horizon code base accordingly.
.. note:: .. warning::
After the support of default policies, the following tool does not work. After the support of default policies, the following tool does not work.
It is a future work to make it work again or evaluate the need itself. It is a future work to make it work again or evaluate the need itself.