On user deletion associate releases to ghost user
What does this MR do and why?
On user deletion associate releases created by the user to Ghost user.
More context in description of #367522 (closed)
Migration of already existing records where the releases with nil author_id will be covered in a separate MR.
Screenshots or screen recordings
How to set up and validate locally
- Create a couple of releases for a same user.
- Delete the user without deleting associating contributions.
- Now visit the releases on the releases page and the user name should be shown as Ghost as shown in the above screenshot.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #367522 (closed)
Edited by Bala Kumar