Consent update
Issue description
- User consent should be taken into account before logging any data. Based on the user's consent, we can determine three different states:
- consent given (value is true) => collect data
- consent rejected (value is false) => don't collect data
- consent neither accepted nor rejected (value is null) => redirect to the consent page
-
Create site setting value for the consent form description (similar to the 'tour' example)
-
Seed a value when running db:seed for the newly created site setting (a simple <p> tag)