Respect klaro's mustConsent or make it possible to not show the consent manager

Created on 27 January 2023, almost 2 years ago
Updated 30 January 2023, almost 2 years ago

Problem/Motivation

From klaro's documentation https://heyklaro.com/docs/integration/annotated-configuration :

   /*
    If 'mustConsent' is set to 'true', Klaro will directly display the consent
    manager modal and not allow the user to close it before having actively
    consented or declined the use of third-party services.
    */
    mustConsent: false,

If mustConsent is set to FALSE the dialog should not open, but the Drupal behavior provided by simple_klaro always opens the dialog regardless of this setting.

Steps to reproduce

Set mustConsent to FALSE, which is actually the default simple_klaro is shipping with.

Proposed resolution

1. Start respecting the mustConsent config value and if FALSE do not open the modal.
2. Provide an update that will set mustConsent to TRUE, also change the default configuration respectively.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hchonov πŸ‡ͺπŸ‡ΊπŸ‡©πŸ‡ͺπŸ‡§πŸ‡¬

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024