Role Watchdog

Component ID

216747

Component name

Role Watchdog

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

17121

Component created

Component changed

Component body

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.