From 4bb44c3d90f198b00073f62675fe9193ad0fae24 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 12 Apr 2016 03:47:46 -0400 Subject: [PATCH] Enigma: added option to force users to use signing/encryption --- plugins/enigma/config.inc.php.dist | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/plugins/enigma/config.inc.php.dist b/plugins/enigma/config.inc.php.dist index 2cce5ee..f7f6f9a 100644 --- a/plugins/enigma/config.inc.php.dist +++ b/plugins/enigma/config.inc.php.dist @@ -45,3 +45,14 @@ // To solve that a hardware entropy generator or // an entropy gathering daemon may be installed (e.g. randomsound). $config['enigma_keygen_server'] = false; + +// With this option you can lock composing options +// of the plugin forcing the user to use configured settings. +// The array accepts: 'sign', 'encrypt', 'pubkey'. +// +// For example, to force your users to sign every email, +// you should set: +// - enigma_sign_all = true +// - enigma_options_lock = array('sign') +// - dont_override = array('enigma_sign_all') +$config['enigma_options_lock'] = array(); -- Gitblit v1.9.1