From 93c10fbf241744f9f34c3253b2f2ab8a78f1fd86 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Wed, 30 Oct 2019 17:59:48 +0100 Subject: [PATCH] Add privacy.mask.* settings --- system/types/settings.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/system/types/settings.go b/system/types/settings.go index 51ba8db7b..34bb5fdb6 100644 --- a/system/types/settings.go +++ b/system/types/settings.go @@ -11,6 +11,16 @@ import ( type ( // Settings structured representation of current system settings Settings struct { + Privacy struct { + Mask struct { + // Enable masking of user's email (value replaced with ######) + Email bool + + // Enable masking of user's name (value replaced with ######) + Name bool + } + } + General struct { Mail struct { Logo string