mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +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
|
// load the grants
|
||||||
if ($this->account_id != -1 && is_null($this->grants))
|
if ($this->account_id != -1 && is_null($this->grants))
|
||||||
{
|
{
|
||||||
// resolving the group members/grants is very slow with ldap accounts backend
|
$this->grants = $GLOBALS['egw']->acl->get_grants($this->app_name);
|
||||||
// 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');
|
|
||||||
}
|
}
|
||||||
$cats = array();
|
$cats = array();
|
||||||
foreach(self::$cache as $cat_id => $cat)
|
foreach(self::$cache as $cat_id => $cat)
|
||||||
|
Loading…
Reference in New Issue
Block a user