Skip to content

Commit

Permalink
[#486] Uniform data.yaml and 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 8eef132 commit 5d874de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docker/setup_configuration/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ objecttypes:
name: Object Type 1
service_identifier: objecttypes-api

- uuid: feeaa795-d212-4fa2-bb38-2c34996e5702
- uuid: b0e8553f-8b1a-4d55-ab90-6d02f1bcf2c2
name: Object Type 2
service_identifier: objecttypes-api

Expand All @@ -53,7 +53,7 @@ tokenauth:
permissions:
- object_type: b427ef84-189d-43aa-9efd-7bb2c459e281
mode: read_and_write
- object_type: feeaa795-d212-4fa2-bb38-2c34996e5702
- object_type: b0e8553f-8b1a-4d55-ab90-6d02f1bcf2c2
mode: read_only
use_fields: true
fields:
Expand Down
10 changes: 5 additions & 5 deletions docs/installation/config_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,18 @@ Create or update the (single) YAML configuration file with your settings:
administration: Administration XYZ # optional
permissions:
- object_type: b427ef84-189d-43aa-9efd-7bb2c459e281
mode: read_only
use_fields: true
fields:
key1: value1
mode: read_and_write
- identifier: token-2
token: 7b2b212d9f16d171a70a1d927cdcfbd5ca7a4799
contact_person: Person 2
email: [email protected]
permissions:
- object_type: b0e8553f-8b1a-4d55-ab90-6d02f1bcf2c2
mode: read_and_write
mode: read_only
use_fields: true
fields:
key1: value1
...
.. note:: To ensure the proper functioning of the tokens, it is essential to first configure the ``objecttypes``.
Expand Down

0 comments on commit 5d874de

Please sign in to comment.