Skip to content

Repair auditlogs where account has been deleted #3729

@hmpf

Description

@hmpf

See #3709: when an account is deleted, we can no longer easily look up who did what.

The summary in each auditlog entry starts with the username (str) of the actor, so it is possible to rescue who did what that way.

We could have a script that repairs the actor model_pk with an integer not currently used as a pk in the account table. Run once on a NAV instance that has merged the chosen solution to #3709 and the problem is gone.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions