Enable groups for readonly folders
This commit is contained in:
parent
3f9aedc3f3
commit
ecfd861c12
1 changed files with 1 additions and 4 deletions
|
@ -15,7 +15,7 @@ class rcube_kolab_contacts extends rcube_addressbook
|
||||||
public $primary_key = 'ID';
|
public $primary_key = 'ID';
|
||||||
public $readonly = true;
|
public $readonly = true;
|
||||||
public $editable = false;
|
public $editable = false;
|
||||||
public $groups = false;
|
public $groups = true;
|
||||||
public $coltypes = array(
|
public $coltypes = array(
|
||||||
'name' => array('limit' => 1),
|
'name' => array('limit' => 1),
|
||||||
'firstname' => array('limit' => 1),
|
'firstname' => array('limit' => 1),
|
||||||
|
@ -133,9 +133,6 @@ class rcube_kolab_contacts extends rcube_addressbook
|
||||||
if (strpos($acl, 'a') !== false || strpos($acl, 'x') !== false)
|
if (strpos($acl, 'a') !== false || strpos($acl, 'x') !== false)
|
||||||
$this->editable = true;
|
$this->editable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->readonly)
|
|
||||||
$this->groups = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue