Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Masquerade Log

1,426 sites Security covered Drupal 9–11 Masquerade ecosystem
View on drupal.org

This module enhances the Masquerade module by logging the original user's details whenever a user is masquerading as someone else. This allows administrators to track who initiated an action while masquerading.

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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.0.0 Stable 9–11 Feb 7, 2025
2.0.x-dev Dev 9–11 Feb 7, 2025
8.x-1.3 Stable 9–10 Feb 6, 2025