From fc55bc5148f58bdbdcf3addb1a1383e994bf9c00 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Thu, 21 Feb 2013 14:27:20 -0500 Subject: Add configuration option 'specials' to hide specials 'anyone' and 'anonymous' from the ACL configuration dialog --- plugins/acl/acl.php | 1 + plugins/acl/config.inc.php.dist | 2 ++ 2 files changed, 3 insertions(+) diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php index 5ae9e4e0a..ffaa51b6d 100644 --- a/plugins/acl/acl.php +++ b/plugins/acl/acl.php @@ -148,6 +148,7 @@ class acl extends rcube_plugin // Load localization and include scripts $this->load_config(); + $this->specials = $this->rc->config->get('acl_specials', $this->specials); $this->add_texts('localization/', array('deleteconfirm', 'norights', 'nouser', 'deleting', 'saving')); $this->include_script('acl.js'); diff --git a/plugins/acl/config.inc.php.dist b/plugins/acl/config.inc.php.dist index f957a233a..6a9c3a57e 100644 --- a/plugins/acl/config.inc.php.dist +++ b/plugins/acl/config.inc.php.dist @@ -16,4 +16,6 @@ $rcmail_config['acl_users_field'] = 'mail'; // The LDAP search filter will be &'d with search queries $rcmail_config['acl_users_filter'] = ''; +$rcmail_config['acl_specials'] = array(); + ?> -- cgit v1.2.3