Background: The ce_worklists table stores the username of the creator of the worklist. This fields needs to be updated when someone's account is renamed or deleted/suppressed.
Type of story
- Backend
Acceptance criteria
- The storage layer for worklists gets methods for updating a user's name
- A job is created to call those methods
- The job is enqueued on user renames, deletions (via CentralAuth), and suppressions
- The functionality should be exactly on par with UpdateUserContributionRecordsJob and its callers. Consider renaming/generalising that code in a preliminary patch so that it can be reused.
Testing required?
- No