The existing admin_audit_trail_user module tracks general user create, update, and delete operations but does not log specific role assignment and removal events. Role changes are important security events that should be tracked separately for compliance and security auditing.
Expected result: Role assignment/removal and role management events appear in the audit trail with descriptive messages including user names, role names, and operation types.
Add a new submodule admin_audit_trail_user_roles that tracks:
The module automatically filters out 'authenticated' role changes since these are automatic.
New submodule: Admin Audit Trail User Roles
Added a new optional submodule that provides detailed logging of user role changes and role management operations. When enabled, the module tracks:
This enhancement provides administrators with granular audit trails for role-based security events, complementing the existing user activity logging. The new logs appear in the standard audit trail report at `/admin/reports/audit-trail` with the type 'user_roles'.
To enable this functionality, install and enable the `admin_audit_trail_user_roles` submodule from the module list.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.