Skip to content

Commit

Permalink
[#486] Fix config_cli.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmursa-dev committed Dec 18, 2024
1 parent fbcc906 commit 8eef132
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions docs/installation/config_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ In order to be able to retrieve objecttypes, a corresponding ``Service`` should
created. An example of a configuration could be seen below:

.. code-block:: yaml
...
...
zgw_consumers_config_enable: true
zgw_consumers:
services:
Expand All @@ -106,13 +106,11 @@ created. An example of a configuration could be seen below:
header_value: Token b9f100590925b529664ed9d370f5f8da124b2c20
...
Tokens configuration
--------------------
Create or update the (single) YAML configuration file with your settings:

.. note:: To ensure the proper functioning of the tokens, it is essential to first configure the ``objecttypes``.
Then, the token configuration must be completed to guarantee the correct configuration of the ``Permissions``.

.. code-block:: yaml
...
Expand Down Expand Up @@ -142,6 +140,10 @@ Create or update the (single) YAML configuration file with your settings:
mode: read_and_write
...
.. note:: To ensure the proper functioning of the tokens, it is essential to first configure the ``objecttypes``.
Then, the token configuration must be completed to guarantee the correct configuration of the ``Permissions``.


Mozilla-django-oidc-db
----------------------

Expand Down Expand Up @@ -171,6 +173,22 @@ can be found at the _`documentation`: https://mozilla-django-oidc-db.readthedocs
Sites configuration
-------------------

.. code-block:: yaml
...
sites_config_enable: true
sites_config:
items:
- domain: example.com
name: Example site
- domain: test.example.com
name: Test site
...
More details about sites configuration through ``setup_configuration``
can be found at the _`site documentation`: https://github.com/maykinmedia/django-setup-configuration/blob/main/docs/sites_config.rst


Notifications configuration
---------------------------

Expand All @@ -179,8 +197,8 @@ item present that matches the ``notifications_api_service_identifier`` in the
``notifications_config`` namespace:

.. code-block:: yaml
...
...
zgw_consumers_config_enable: true
zgw_consumers:
services:
Expand Down

0 comments on commit 8eef132

Please sign in to comment.