The module synchronizes all uses with CleverReach even when the option to synchronize users was not selected

Created on 3 May 2024, 8 months ago

Problem/Motivation

The module synchronizes all users (and their emails) to CleverReach servers, even when the option to synchronize user does as recipients is NOT selected. This is unacceptable from a data protection standpoint.

Further, the synchronization of users was extremely slow and makes the module unusable (separate issue can be opened pending outcome of this topic). It hung at 5% for over an hour. By reducing the batch size from 100 to 5 I was able to get the user sync (which should not be occurring) to complete.

On a potentially related topic (separate issue can be opened pending outcome of this topic) the module synchronizes all roles and taxonomies (as segments) that are on the user, which also potentially contain confidential information. In my case it created over 2000 segments. The UI in my account does not allow these to be deleted in bulk, which will create hours of clean-up work. I suspect this is related to the slow performance of the user sync mentioned above.

Steps to reproduce

Conduct initial synchronization.
Do not select the option to synchronize user data as a recipient.

See that user sync actually occurs

Check account and users are synchronized (although they should not be)

Proposed resolution

Comply with your own configuration option and only sync users if the option to synchronize them is selected.

Remaining tasks

Implement a fix. I am happy to work on a fix. However, can you please advise if you are willing to review this and merge upstream once code meets your requirements?

User interface changes

None

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

🇨🇭Switzerland tcrawford

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

Comments & Activities

Production build 0.71.5 2024