nextcloud / nextcloud/server

Support for user id migration

Open
#63,709 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: users and groups hotspot: account name handling
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

For many reasons it can be helpful to support renaming an user_id

Implementation:

  • Add a event that app can listen to, and use to rename the user id in their table
  • Add a feature flag in appinfo file, so that there can be a warning when we are doing a migration and one app is enabled which doesn't support it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing user ID rename or migration flow, then inspect how server events are dispatched and how appinfo capabilities or feature flags are read. Define the event and warning behavior from the issue requirements, and verify that apps lacking migration support are identified before a user ID migration proceeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.