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

Created on 27 January 2023, over 1 year ago
Updated 30 January 2023, over 1 year 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

  • Issue created by @hchonov
  • πŸ‡©πŸ‡ͺGermany Erik Seifert

    Looks for me that is works like designed.

    See first screenshot shows only the small cookie banner in the bottom.
    Second shows the modal without any possibility to close.

    Seems for me the correct behavior.

  • Status changed to Needs review over 1 year ago
  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡΅πŸ‡ΉPortugal jcnventura

    There's nothing to review. Either this is active, or this should be closed as "works as designed". Let's close this, and reopen in case the findings in #3 are somehow wrong.

  • Status changed to Active over 1 year ago
  • πŸ‡©πŸ‡ͺGermany hchonov πŸ‡ͺπŸ‡ΊπŸ‡©πŸ‡ͺπŸ‡§πŸ‡¬

    If mustConsent is false the modal shouldn't be opening automatically.

  • πŸ‡©πŸ‡ͺGermany Erik Seifert

    @hchonov. This setting is handled by klaro itself. The modal is not the second screen. There is also a cookie banner, but that's not the modal.

  • Status changed to Closed: works as designed over 1 year ago
Production build 0.71.5 2024