forked from extern/egroupware
resolve the group grants only, when the we are not using the ldap accounts backend, because resolving the memberships using ldap is very slow currently
This commit is contained in:
parent
48a17e28c1
commit
d31d731513
@ -59,7 +59,9 @@
|
||||
$this->app_name = $app_name;
|
||||
$this->db = clone($GLOBALS['egw']->db);
|
||||
$this->db->set_app('phpgwapi');
|
||||
$this->grants = $GLOBALS['egw']->acl->get_grants($app_name);
|
||||
if($app_name != 'addressbook' && $GLOBALS['egw_info']['server']['account_repository'] != 'ldap') {
|
||||
$this->grants = $GLOBALS['egw']->acl->get_grants($app_name);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user