forgejo/release-notes/8.0.0/fix
Gergely Nagy acbd44a186 migrations: Map non-existant external users to Ghost
When performing migrations, and need to remap external users to local
ones, when no local mapping is possible, map the external user to Ghost,
rather than the user who initiated the migration.

Mapping the external user to the migration initiator has the potential
of breaking assumptions elsewhere, like only having one review per pull
request per user. Mapping these migrated, locally unavailable users to
Ghost makes sure these - often hidden - assumptions do not break.

Fixes #3860.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit ade7304eea)
2024-05-28 16:44:23 +00:00
..
3729.md [v7.0/forgejo] docs(release-notes): 7.0.3 (#3884) 2024-05-24 12:40:26 +00:00
3864.md add release-notes 2024-05-24 00:26:20 +00:00
3904.md fix(services): set SendNotificationEmailOnNewUser 2024-05-25 17:32:52 +02:00
3935.md migrations: Map non-existant external users to Ghost 2024-05-28 16:44:23 +00:00