Skip to content

Conversation

@cosmicbuffalo
Copy link

@cosmicbuffalo cosmicbuffalo commented Jan 12, 2026

Description

Warning

Claude code was used extensively for this change to both investigate the codebase and write the code to make the desired feature.

Adds a new user merge feature that allows admins to consolidate duplicate user accounts. When merging, all data from the source user is transferred to the target user including:

  • Media requests (both requestedBy and modifiedBy)
  • Issues and issue comments
  • Watchlist items (with duplicate handling)
  • Override rule references

The source user is deleted after the merge. Includes safeguards to prevent merging the owner account or admin users without owner permission. I needed to use this feature locally after somehow ending up with duplicate users imported from jellyfin.

  • Fixes #XXXX

How Has This Been Tested?

I initially tested with my own home seerr setup and ensured that I was able to merge my duplicate users without breaking anything. my duplicate users had requests associated with them at the time and I ensured that those requests were successfully moved over to the target users. I did not manually test issues/watchlist/override rule related changes manually though.

test coverage is currently WIP

Screenshots / Logs (if applicable)

The merge functionality is added in a new "Danger Zone" section at the bottom of user settings:
Screenshot 2026-01-12 at 10 53 56 AM
Clicking the button pops open this modal to select the user to merge into:
Screenshot 2026-01-12 at 10 54 13 AM

Checklist:

  • I have read and followed the contribution guidelines.
  • Disclosed any use of AI (see our policy)
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

Adds a new user merge feature that allows admins to consolidate duplicate
user accounts. When merging, all data from the source user is transferred
to the target user including:

- Media requests (both requestedBy and modifiedBy)
- Issues and issue comments
- Watchlist items (with duplicate handling)
- Override rule references

The source user is deleted after the merge. Includes safeguards to prevent
merging the owner account or admin users without owner permission.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant