Provide a way to encrypt users if module is enabled via config import

Created on 25 January 2023, almost 2 years ago

Problem/Motivation

After #3257640: Respect is_syncing in hook_install , if the module is enabled via config import the user emails will remain unencrypted in the database. The reason for disabling the profile encryption during configuration import is that it is not really the correct time to spend a few minutes changing the database. However, this

Steps to reproduce

Enable the module by adding the module to the core.extension.yml file. Check that users remain unencrypted.

Proposed resolution

Provide a warning on the status report that emails have not yet been encrypted. Provide a mechanism to encrypt these emails using a batch operation as it might be necessary to do this for thousands of users.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇵🇹Portugal jcnventura

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

Comments & Activities

Production build 0.71.5 2024