nextcloud / nextcloud/server

Add config.php option to force enable lookup server upload for certain account properties

Open
#29,887 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: federation feature: global scale feature: settings
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
As a server administrator I want all users share the same account information between instances of global scale nodes.

Describe the solution you'd like
The solution would be a way to force enable lookup server upload for certain account properties (e.g. Twitter, Website, Phone, Address).

Proposed technical solution
A config.php option like lookup_server.forced_property_scopes in which I may enter an associative array of properties to scopes (e.g. v2-private, v2-local, v2-federated, v2-published) which are to be force synchronized

'lookup_server.forced_property_scopes' => [
  'twitter' => 'v2-federated',
  'website' => 'v2-federated',
  'phone' => 'v2-federated',
  'address' => 'v2-federated',
]

Describe alternatives you've considered
There are no alternative options.

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 reading config.php handling and tracing the lookup server upload path, especially where account-property scopes are selected. Define how lookup_server.forced_property_scopes should interact with the v2-private, v2-local, v2-federated, and v2-published scopes. Done means the configured properties are force-synchronized across instances without changing unconfigured behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.