You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/09/25 18:52:45 UTC

[incubator-ponymail-foal] 01/04: add in a "full gdpr" config switch

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 1fd2c75bbae106dc6fe2127515907dfb70e48152
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sat Sep 25 13:49:37 2021 -0500

    add in a "full gdpr" config switch
---
 server/plugins/configuration.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/plugins/configuration.py b/server/plugins/configuration.py
index 7a89d78..66abfab 100644
--- a/server/plugins/configuration.py
+++ b/server/plugins/configuration.py
@@ -40,6 +40,7 @@ class UIConfig:
     traceback: bool
     mgmt_enabled: bool
     focus_domain: str
+    fully_delete: bool
 
     def __init__(self, subyaml: dict):
         self.wordcloud = bool(subyaml.get("wordcloud", False))
@@ -51,6 +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
         # Default to all lists, "*". Use "" for host. Wildcard subdomain globs also supported
         self.focus_domain = subyaml.get("focus_domain", "*")