Ensure anonymous user always exists in the system

Created on 2 February 2023, almost 2 years ago

Problem/Motivation

In professional secure environments data obfuscation or truncation is a must, to ensure that PII (personal identifiable information) is not present on developers machines. Such solutions may include truncation of all users data (i.e. when database backup is being exported without user tables). This leads to missing anonymous user in Drupal resulting in random errors on Drupal side.

Steps to reproduce

- Truncate users table
- Try to use the site as usual. You'll likely experience a random error.

Proposed resolution

Ensure that anonymous user always exists and create it if not.

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇾Belarus spleshka UAE

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

Comments & Activities

Production build 0.71.5 2024