docs/Configuration.adoc
== Configuration
Here is a sample of configuration:
[source,yaml]
----
rich_id_terms_module:
admin_roles: [ ROLE_GIGA_ADMIN ]
default_redirection_routes:
acceptation: app_acceptation_front
refusal: app_refusal_front
ignore: app_ignore_front
----
- `rich_id_terms_module.admin_roles`: Defines the roles that are allowed to generate and edit unpublished versions.
- `rich_id_terms_module.default_redirection_routes.acceptation`: If no route is given to the signing page, then the users are redirected to this page when they approve the terms.
- `rich_id_terms_module.default_redirection_routes.refusal`: If no route is given to the signing page, then the users are redirected to this page when they disapprove the terms.
- `rich_id_terms_module.default_redirection_routes.ignore`: If no route is given to the signing page, then the users are redirected to this page when they skip the approval of the terms.