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/)'],
);

@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants