Skip to content

Feat: Get GSS Mockup Server from database#2505

Open
T0mWz wants to merge 1 commit into
nextcloud:masterfrom
T0mWz:GSSMockupFromDatabase
Open

Feat: Get GSS Mockup Server from database#2505
T0mWz wants to merge 1 commit into
nextcloud:masterfrom
T0mWz:GSSMockupFromDatabase

Conversation

@T0mWz

@T0mWz T0mWz commented Jun 2, 2026

Copy link
Copy Markdown

Summary

To set up federated groups in Nextcloud without using the Global Scale architecture, a configuration option must now be added to each Nextcloud backend, containing an array of all trusted environments.

This appears to be more or less the same as the list of trusted servers that can already be configured for Federated Document Editing, for example, via https://docs.nextcloud.com/server/32/admin_manual/configuration_files/federated_cloud_sharing_configuration.html

Where having a separate configuration file on every backend is very scalable, especially when it comes to adding or removing sites. This option make a database array also possible, with current array in the config as fallback option.

How to use

Prefers app config (database) over system config (config.php) for flexibility.
To set via occ:

occ config:app:set circles gss.mockup --value='["nextcloud1.example.nl","nextcloud2.example.nl"]'

Current config option is still supported as fallback scenario;

$CONFIG = array (
   'allow_local_remove_servers' => true,
   'gss.mockup' => ['[nextcloud1.example.nl](http://nextcloud1.example.nl/)','[nextcloud2.example.nl](http://nextcloud2.example.nl/)'],
);

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.

2 participants