| | |
| | | |
| | | if ($this->rc->config->get('acl_groups')) { |
| | | $prefix = $this->rc->config->get('acl_group_prefix'); |
| | | $group_field = $this->rc->config->get('acl_group_field') ? $this->rc->config->get('acl_group_field') : 'name'; |
| | | $group_field = $this->rc->config->get('acl_group_field', 'name'); |
| | | $result = $this->ldap->list_groups($search, $mode); |
| | | |
| | | foreach ($result as $record) { |
| | |
| | | // Prefix added to the group name to build IMAP ACL identifier |
| | | $config['acl_group_prefix'] = 'group:'; |
| | | |
| | | // The LDAP attribute which will be used as ACL group identifier |
| | | // The LDAP attribute (or field name) which will be used as ACL group identifier |
| | | $config['acl_group_field'] = 'name'; |
| | | |
| | | // Include the following 'special' access control subjects in the ACL dialog; |