Add COOKiES submodule for leaflet GDPR

Created on 22 November 2022, over 2 years ago
Updated 7 June 2024, 10 months ago

Problem/Motivation

Leaflet module is a very flexible and widely used module providing integration for the https://leafletjs.com/ JavaScript interactive maps library.

It's an alternative to other Drupal Map solutions like Google Maps, Simple Google Maps, etc. which has a similar COOKiES issue here: #3232789: Support Simple Google Map, Google Map field, Geolocation & Geofield

As leaflet is mostly used with views, also the existing issue #3299091: Add submodule to block views with third-party cookies / scripts until consent is given is relevant. It name leaflet as example and reason for the implementation.

So this issue is to decide, how to provide a reliable GDPR solution for blocking leaflet and its external third-party sources until consent is given.

External sources are of two types:

  1. The leaflet libraries loaded from CDN
  2. Used map providers like OSM, Google Maps, ...

None of both should happen without user consent given.

Steps to reproduce

Proposed resolution

Remaining tasks

  • Discuss if blocking views or blocking leaflet explicitly is the right choice
  • Implement
  • Test
  • Release

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.2

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024