Cookiebot always disabled for user 1

Created on 20 March 2024, 8 months ago

Problem/Motivation

Even though the account interface defined the id() method to return an int, in reality though it returns a string sometimes.
That is already taken into account in the exclude_uid_1 check (using "==" instead of "===") but not on the skip cookiebot consent permission check. And user 1 has all permissions by default.

Steps to reproduce

Implement cookiebot
Visit any page as user 1
Cookiebot will not appear

Proposed resolution

Change to != 1 instead of !== 1 for user 1 check in skip cookiebot consent permission check.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden andersmosshall

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

Comments & Activities

Production build 0.71.5 2024