Oliviero: Violation of data protection regulations

Created on 15 November 2024, about 1 month ago

Problem/Motivation

Oliviero Theme sets every time the localStorage item Drupal.olivero.stickyHeaderState. Storing data in user's browser (no matter if cookie, localStorage or sessionStorage) requires in many countries the user's consent - e.g. in the countries of the European Union.

Steps to reproduce

Install Drupal with Oliviero and open the home page.

Proposed resolution

The aim should be to avoid data protection violations without the need for a consent manager. The use of localStorage is permitted if it is necessary for the provision of the requested service. It would therefore be a step in the right direction if the localStorage were only used after the toggle button has been pressed.

(Ideally, the use of localStorage should only be optional and become a theme setting, but the data protection officers are welcome to discuss this first).

Remaining tasks

Introduce a javascript function updateStickyHeaderStorage() which only sets the expiration time if the item exists.

User interface changes

None.

Introduced terminology

None.

API changes

None.

Data model changes

None.

Release notes snippet

Avoid the unnecessary use of localStorage to comply with data protection regulations.

๐Ÿ› Bug report
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component

Olivero theme

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany jan kellermann

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024