Ensure anonymous user always exists in the system

Created on 2 February 2023, over 1 year 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.69.0 2024