Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

masquerade_log

1,443 sites Security covered
View on drupal.org

This module extends Masquerade by logging also the original user in all logger entries when the current user is masquerading.

Normally the log entry user ID is the current user. But when a user is masquerading we cannot determine the original user from the log entry. By enabling this module, a suffix will be added to the log entry message. For example, if the original username is joe, with user ID equals 1234, and he's masquerading as anna, the log entry user ID will still belong to anna, as currently happens, but the log message will end with:

[masquerading joe, uid 1234]

Loggers that are storing also variables, such as DbLog, will receive also two additional context variables:

  • @original_uid
  • @original_username

This module needs no configuration.

Project Goal

A long-term goal of this module is to have its functionality integrated into the Masquerade module itself. This would eliminate the need for a separate contrib module, making user impersonation logging a core feature of Masquerade. Until then, this module provides a standalone solution for tracking masquerade activity.

Activity

Total releases
3
First release
Feb 2025
Latest release
1 year ago
Release cadence
1 day
Stability
67% stable

Release Timeline

Releases

Version Type Release date
2.0.0 Stable Feb 7, 2025
2.0.x-dev Dev Feb 7, 2025
8.x-1.3 Stable Feb 6, 2025