diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-02-21 14:27:20 -0500 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-02-21 14:27:20 -0500 |
commit | fc55bc5148f58bdbdcf3addb1a1383e994bf9c00 (patch) | |
tree | 7ede98bd39517cf717ab65ac0b402622c7613e22 | |
parent | 66d30994853ba9282c1d8f9cc189a195e79e8b9a (diff) |
Add configuration option 'specials' to hide specials 'anyone' and 'anonymous' from the ACL configuration dialog
-rw-r--r-- | plugins/acl/acl.php | 1 | ||||
-rw-r--r-- | plugins/acl/config.inc.php.dist | 2 |
2 files changed, 3 insertions, 0 deletions
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(); + ?> |