mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
fixed missing $this-> operator which prevented ACL read on sync - let categories class always enumerate group ACLs (it was skipped for LDAP backends)
This commit is contained in:
parent
3d5bd129ca
commit
5dbc859f71
@ -147,10 +147,7 @@ class categories
|
||||
// load the grants
|
||||
if ($this->account_id != -1 && is_null($this->grants))
|
||||
{
|
||||
// resolving the group members/grants is very slow with ldap accounts backend
|
||||
// let's skip it for the addressbook, if we are using the ldap accounts backend
|
||||
$this->grants = $GLOBALS['egw']->acl->get_grants($app_name,
|
||||
$app_name != 'addressbook' || $GLOBALS['egw_info']['server']['account_repository'] != 'ldap');
|
||||
$this->grants = $GLOBALS['egw']->acl->get_grants($this->app_name);
|
||||
}
|
||||
$cats = array();
|
||||
foreach(self::$cache as $cat_id => $cat)
|
||||
|
Loading…
Reference in New Issue
Block a user