Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple default config depending on use-case #403

Open
Gredin67 opened this issue Aug 31, 2023 · 4 comments
Open

Multiple default config depending on use-case #403

Gredin67 opened this issue Aug 31, 2023 · 4 comments
Labels

Comments

@Gredin67
Copy link

While writing the config panel, I realized that there were improvements possible in the default homeserver.yaml configuration. First differentiating the typical SSO/registration_disabled use-case from the password_login/registration_requires_email use-case. For instance in the latter, password_config:policy:enabled: true should be set.
An interesting feature would be to define 2-3 typical use-cases and to adjust the config at install accordingly. In practice we could maintain several homeserver.yaml template files in conf/, so we can change more than only the config_panel settings at install.

In order to address this issue collectively, I prepared a spreadsheet listing all settings that are in the config panel and others that I found relevant to privacy protection. We could add mode if required. To define the typical use-cases and corresponding default config. In RED, settings that are not exposed in the config panel.

https://pad.exarius.org/sheet/#/2/sheet/edit/yZ6ZP-1U1c7M+4khveV+P8f8/

@Gredin67
Copy link
Author

Element is defining following use-cases

image

@lapineige
Copy link
Member

Thank you for that awesome work !

That is definitely a very good idea, in particular for such a multi-purpose app.

Is there any performance settings that could be adjusted too ?

@Gredin67
Copy link
Author

We did great progress yesterday with @Thatoo !
Note that in general privacy on Matrix depends on a subtle mix between pseudonymity and encryption.
We filled all current default settings and suggest 4 default configurations depending on the use-case :

  • "Signal-Like" : "more encrypted, more anonymous, less data retention, more beginner user experience, less fancy user experience"
  • "Discord/WhatsApp-Like" : "more data retention, more fancy user experience"
  • "Matrix.org-like" : Big Open Server "more encrypted, less anonymous, more data retention"
  • "Conference-like" : "less data retention, more anonymous, less fancy user experience, more beginner user experience"

This only makes sense if you federate only with servers targetting similar use-case, applying similar settings.

@Gredin67
Copy link
Author

For the Conference-like config, an option would be to have only guests on the whole server and disable federation, see matrix-org/synapse#6401
In general we could expose disabling federation in the config panel

@Josue-T Josue-T added the feature label Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants