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

Set certain default settings per token #43

Open
2 tasks
missytake opened this issue Jul 19, 2022 · 1 comment
Open
2 tasks

Set certain default settings per token #43

missytake opened this issue Jul 19, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@missytake
Copy link
Contributor

missytake commented Jul 19, 2022

In many cases, we create a token for a certain group or organization, where we already know in which way they want to use Delta Chat - so it can make sense to change some of the default settings of the Delta Chat app, directly upon configuration.

Example:

  • E-Corp is thinking about introducing Delta Chat as an internal messenger. They want to do an inhouse test first to collect employee feedback. Because E-Corp's facility has email bots which send out notifications for "smart-factory" functionality or whatever, all new users are supposed to also receive non-chat emails, not only chats. So we want to set this setting already upon configuration, so they don't have to change that setting manually for all users.

Proposed changes:

  • add-token command gets a new parameter for setting preferences, similar to ssh -o StrictHostKeyChecking=no
  • the same for mod-token
  • check whether the supplied key/value pair is a correct config option, error if otherwise
  • store the changed default config options as key/value pairs in the mailadm db
  • put the key/value pairs into the response json when you scan an account creation QR code
  • document changed json format

Changes needed in https://github.com/deltachat/deltachat-core-rust

  • parse config options from json response during account configuration
  • documentation for the different Delta Chat config options would be nice, too. Then we can link to it
@Simon-Laux
Copy link
Member

@missytake missytake added the enhancement New feature or request label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants