drupal / user_privacy_core
A Drupal recipe that restricts username visibility to administrators.
1.0.0
2025-01-16 10:05 UTC
Requires
- drupal/core: ^10.3 || ^11.0
- drupal/view_usernames: ^1.0
README
A Drupal recipe that enhances user privacy by restricting username visibility to administrators only.
What this recipe does
This recipe automatically configures username visibility permissions in your Drupal site by:
- Installing the View Usernames module
- Granting username viewing permissions only to administrators
Revoking username viewing permissions from anonymous visitorsRevoking username viewing permissions from authenticated users
(Revoking a permission via a Recipe is currently not possible: https://www.drupal.org/node/3500184)
To understand why username privacy matters in the AI era, read our blog post: https://pronovix.com/articles/modernizing-drupals-username-security-policy-ai-era