Problem/Motivation

The event logged for user role change only is logging the original role for the user, not the updated/new roles.

Steps to reproduce

With event_log_track_user enabled edit a user's roles.
Check the Event Track Log and notice that only the original role(s) are logged.

Proposed resolution

Also log the set of new role(s) when roles are altered.

Comments

koolaidguy created an issue. See original summary.

koolaidguy’s picture

Patch added

  • smustgrave committed d3e4bf74 on 4.0.x
    Issue #3519970 by koolaidguy: User Role Update log only shows original...

  • smustgrave committed 4a5bb7f7 on 4.0.x
    Issue #3519970 by koolaidguy: User Role Update log only shows original...
smustgrave’s picture

Status: Active » Fixed

Actually not sure how this module worked before as the hooks were wrong. But fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.