Open
Description
Is your feature request related to a problem?
Currently if you have attached user settings (name, address, etc) they are not stored in Audit Trail events. (e.g. mentioned here) It would be good to store them on events that trigger when the User
is changed.
Describe the solution you'd like
It would be good to either add an AuditTrailUserEvent.User
property (for parity with AuditTrailContentEvent.ContentItem
) or to create a separate AuditTrailUserStateEvent
. Whichever makes more sense.
It should trigger on IUserEventHandler
's past tense methods (e.g. on UpdatedAsync
but not on UpdatingAsync
). Unlike the current UserEventHandler
it should not trigger on ILoginFormEvent
to avoid cluttering.
Describe alternatives you've considered
I can't think of any.