You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To not risk losing audit trails (one of the main reasons this library is often used), we should ensure that all admin LogEntry records are copied to timeline logger - this can be done with a post_save signal. It's important that we then also serialize the user representation (str(user), if given) into the JSON field data so this can still be retrieved when the user account is deleted (by accident or malicious intent).
This behaviour should be opt-in through a setting: TIMELINE_MIRROR_ADMIN_LOGENTRY = False.
From open-formulieren/open-forms#2352 it's clear that
LogEntry
records are cascade-deleted when the user is deleted.To not risk losing audit trails (one of the main reasons this library is often used), we should ensure that all admin
LogEntry
records are copied to timeline logger - this can be done with apost_save
signal. It's important that we then also serialize the user representation (str(user)
, if given) into the JSON field data so this can still be retrieved when the user account is deleted (by accident or malicious intent).This behaviour should be opt-in through a setting:
TIMELINE_MIRROR_ADMIN_LOGENTRY = False
.Tasks
The text was updated successfully, but these errors were encountered: