This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit aa9a1374601e7481eff3853aa39d0d450d69765d Author: Daniel Gruno <[email protected]> AuthorDate: Mon Sep 27 13:49:25 2021 -0500 rename variable --- INSTALL.md | 7 ++++--- server/plugins/configuration.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 3d808f2..ad1bea5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -178,13 +178,14 @@ web interface. ## Online Management Console the `ui` paragraph of the server configuration allows for enabling an administrative interface for editing or removing emails from the archives. To enable this, set `mgmtconsole` to `true`. -For true GDPR compliance (deleting an email deletes from disk), set `true_gdpr` to `true`. -If left out or set to false, deleted emails are merely hidden, and can be recovered at a later stage. +For GDPR compliance (deleting an email deletes from disk), set `allow_delete` to `true`. +If left out or set to false, deleted emails are merely hidden, and can be recovered at a later +stage by an administrator. ~~~yaml ui: mgmtconsole: true - true_gdpr: true + allow_delete: true ~~~ The administrative interface can be accessed by clicking on the yellow cog in the context menu diff --git a/server/plugins/configuration.py b/server/plugins/configuration.py index 66abfab..7fd47a5 100644 --- a/server/plugins/configuration.py +++ b/server/plugins/configuration.py @@ -52,7 +52,7 @@ class UIConfig: # Set to false in yaml to redirect to stderr instead. self.traceback = subyaml.get("traceback", True) self.mgmt_enabled = bool(subyaml.get("mgmtconsole", False)) # Whether to enable online mgmt component or not - self.fully_delete = bool(subyaml.get("true_gdpr", False)) # Whether to enforce full expunging of deleted emails + self.fully_delete = bool(subyaml.get("allow_delete", False)) # Whether to enforce full expunging of deleted emails # Default to all lists, "*". Use "" for host. Wildcard subdomain globs also supported self.focus_domain = subyaml.get("focus_domain", "*")
