Closed (fixed)
Project:
Role Watchdog
Version:
5.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2008 at 16:32 UTC
Updated:
30 Apr 2011 at 06:15 UTC
It doesn't seem like role assignments and un-assignments done via the Role Delegation module are picked up by the Role Watchdog module. Having role delegation activities audited by the Role Watchdog script seems like a good match, since it's generally a good idea to monitor activities that are delegated to others. I know it's impossible to interface with every module with complementary functionality, but the Role Delegation module provides a unique, and to some vital, function - that really necessitates an audit trail option.
I am a php programmer and would be happy to contribute some legwork, if you could easily DELEGATE it :)
Thanks for a great module.
Comments
Comment #1
john.money commentedIs Role Delegation done through the normal user interface (e.g. user edit)? If so, Role Watchdog should support it out of the box but I can dig further.
Agreed that these two are quite complimentary.
Comment #2
andrewmacpherson commentedRole Delegation module does NOT use the normal user_save() mechanism, but directly modifies the database. This has been raised with the Role Delegation issue queue:
#341162: Module should use user_save instead of directly accessing drupal database (drupal5 patch)
#341162: Module should use user_save instead of directly accessing drupal database (drupal5 patch)
I've not tried these patches yet, but assuming they work, then this Role Watchdog issue should be fixed when the patches are brought into the Role Delegation module.
Comment #3
john.money commentedGoing to mark this issue postponed then until Role Delegation gets patched.
Comment #4
john.money commentedRole Delegation patch mentioned by Andrew was committed. Closing issue.
Comment #5
yesct commentedthis issue is linked to from #1142950: integrate with ubercart and uc_roles. (I thought I might be able to use this approach to integrate another module with role_watchdog, but in my case, what I want to integrate, *does* use user_save, so something else might be my problem.)