Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Role Watchdog

Security covered Under active development 826 sites

This module automatically logs all changes to user roles, displaying a history on each user's profile. It can also optionally notify specific roles via email when certain roles are added or removed, which is useful for auditing administrative actions.

Role watchdog automatically logs all role changes made through the user profile or the User List in its own table. A record of these changes is shown in a Role history tab on each user's page. Role watchdog can optionally monitor one or more specific roles for changes and notify members of selected roles via email whenever a change occurs.

This module might be useful when there are multiple administrators for a site, and you need auditing or alerting of manual role changes.

Update: 2012-Sept-11

  • 7.x-2.0-beta1 and 6.x-2.0-beta1 released
  • Adds a submodule og_role_watchdog to support tracking role changes in og.

Important: Support for og-7.x-2.x is pending; only 7.x-1.x is supported at the moment. Please see #1954896: Support OG 7.x-2.x for more information.

Dependencies

None. Database logging is a Core (optional) module.
og_role_watchdog depends on og; og_user_roles required for og_role_watchdog-6.x.

Tested compatible with:

Related Modules

Usage

Role watchdog will automatically start recording all role changes. No further configuration is necessary for this functionality, the module will do this "out of the box". A record of these changes is shown in a Role history tab on each user's page and optionally in the Watchdog log if enabled. Users will need either "View role history" or "View own role history" access permissions to view the tab.

Role watchdog can optionally email members of selected Notify roles when selected Monitor roles are added or removed. This was specifically added to keep a closer eye on certain role changes, such as an Administrator role. At least one Monitor role and one Notify role must be selected for this functionality.

Credits

Module development originally sponsored by LifeWire, a service of About.com, a part of The New York Times Company.

Drupal 8–11

Ask your assistant about Role Watchdog

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • user Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jan 2024
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.1.1 Stable 8–11 Nov 24, 2025
2.1.0 Stable 8–10 Jan 23, 2024
2.x-dev Dev 8–11 Jan 23, 2024