Skip to content

Make consent options mutually exclusive #24

@brotkrueml

Description

@brotkrueml

With #20 and #23 the two options "requireConsent" and "requireCookieConsent" were introduced. However, both can be enabled in the configuration at the same time. This does not make sense as they are mutually exclusive. This should also be obvious in the configuration.

One way would be to move both options out of the checkbox list of options and introduce a new field "Consent" with three options:

  • none
  • require consent
  • require cookie consent

Acceptance criteria:

  • A new field "Consent" with the three options described above is available.
  • The value is written to a new YAML setting "matomoIntegrationConsent".
  • A migration wizard is available which migrates the old setting under "matomoIntegrationOptions" to the new setting.
  • The documentation is adjusted.
  • A changelog entry is available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingBreaking changesdocumentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions