diff options
author | rinpatch <rinpatch@sdf.org> | 2020-05-14 16:07:37 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-05-14 16:07:37 +0000 |
commit | e455ca3f3eee74db0b1e60550acf53bea915be3b (patch) | |
tree | f8cd57de8a86433f6d1184940836163c84849c3a /docs/configuration | |
parent | 4157c459b8f7ef1c4203338f2fae34aa18c77933 (diff) | |
parent | 80308c5c262662084dc89de05e976e7166cbb304 (diff) | |
download | pleroma-e455ca3f3eee74db0b1e60550acf53bea915be3b.tar.gz |
Merge branch 'feature/database-configuration-whitelist' into 'develop'
Database configuration whitelist
See merge request pleroma/pleroma!2522
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/cheatsheet.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 707d7fdbd..1078c4e87 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -911,6 +911,21 @@ config :auto_linker, Boolean, enables/disables in-database configuration. Read [Transfering the config to/from the database](../administration/CLI_tasks/config.md) for more information. +## :database_config_whitelist + +List of valid configuration sections which are allowed to be configured from the +database. Settings stored in the database before the whitelist is configured are +still applied, so it is suggested to only use the whitelist on instances that +have not migrated the config to the database. + +Example: +```elixir +config :pleroma, :database_config_whitelist, [ + {:pleroma, :instance}, + {:pleroma, Pleroma.Web.Metadata}, + {:auto_linker} +] +``` ### Multi-factor authentication - :two_factor_authentication * `totp` - a list containing TOTP configuration |