Role Watchdog

John Money - February 1, 2008 - 16:00
Role Watchdog configuration

Role Watchdog automatically logs all role changes. Role Watchdog can optionally monitor one or more roles for changes and notify members of selected roles via email whenever a change occurs. Role Watchdog can optionally log role changes in its own table and display the role history on each user's page.

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

2009-04-03: both the 5.x and 6.x versions now support user_save() and are compatible with modules like Role Delegation. Going forward, 5.x will be supported with bug fixes only.

Dependencies
None. The module Database logging is optional in D6.x.

Related Modules

  • Role Change Notify
    the mirror functionality of Role Watchdog, notifying the user when a role is added to their account.

Installation

  1. install module: copy role_watchdog directory and all its contents to your modules directory
  2. enable module: admin/build/modules
  3. configure module: admin/user/roles/role_watchdog
  4. configure user access: admin/user/permission#module-role_watchdog

Usage
Role Watchdog has three modes of operation. The module will automatically start recording all role changes in the watchdog log. No further configuration is necessary for this functionality, the module will do this "out of the box".

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.

Role Watchdog can optionally log role changes in its own table and display the role history on each user's page. Users will need either "View role history" or "View own role history" access permissions to view the tab. This functionality was added for a more permanent audit of role history.

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

Releases

Official releasesDateSizeLinksStatus
6.x-1.02009-Apr-0310.21 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.32009-Apr-0310.36 KBRecommended for 5.xThis is currently the recommended release for 5.x.


 
 

Drupal is a registered trademark of Dries Buytaert.