Problem/Motivation

The consent popup should be presented to everyone. Instead, it seems to only be presented to logged in users.

Steps to reproduce

install and configure the module. go to the website in incognito mode.

expected outcome: the consent popup should be visible.

actual outcome: it's not visible

then, login as anyone (admin) and go to the website. the consent popup appears. but this behavior should have been observed for non-logged-in users also.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

piousbox created an issue. See original summary.

kallado’s picture

I can't reproduce the issue. I have the module working in some sites and it works for anonymous users. Check if you have any restrictions on the block for roles or any other permissions.

piousbox’s picture

Alright, I created a pull request that addresses all the issues that I saw: https://git.drupalcode.org/project/consent_popup/-/merge_requests/5/diff...

kallado’s picture

@piousbox I think you are removing the validation for the url to solve this issue https://www.drupal.org/project/consent_popup/issues/3385449
but that alone won't work since in build we are expecting the url to be relative so an external url won't work anyway. Maybe we can fix both problems in this issue and merge both. I might have some time to look at it this week (maybe even today)

kallado’s picture

@piousbox never mind it works anyway. I'll merge and create a new version asap.

kallado’s picture

Fixed in 1.0,4

kallado’s picture

Status: Active » Fixed
kallado’s picture

Status: Fixed » Closed (fixed)