Consent/cookie management
Cookie consent dialog with category selection
The cookie dialog component now has configuration settings which allows users to give consent for specific cookie categories. Each cookie category has a description and can be marked as required.
ConsentService to manage consent settings
The new service is responsible for:
- opening the cookie dialog;
- updating and storing consent settings locally;
- (optional) informing the backend for record keeping;
- selecting a storage backend based on a combination of predefined settings and user consent;
- migrating data to a new backend when consent settings are changed.
A new interface for ConsentSettings has been introduced which is used to store consent settings in localStorage and includes:
- the version for the data structure;
- the timestamp;
- the consent value for each category.
Edited by Daniel Gerhardt