Visibility based on role

Created on 14 February 2023, almost 2 years ago

Problem/Motivation

The Tawk.to widget does not display when a visibility rule based on a user role has been created.

Steps to reproduce

1) Install the module, setup a widget and test it.
2) In the widget extra settings, in Visibility > Roles check a user role
3) The widget does not display for this role

Proposed resolution

When checking also the authenticated role it works. But it's not desirable. The check against the role must be rewritten to display the widget if the user has at least one of the checked roles.

Remaining tasks

Fix the visibility based on roles code.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

💬 Support request
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇫🇷France GuillaumeDuveau Toulouse

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

Comments & Activities

Production build 0.71.5 2024