mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +01:00
* CalDAV/CardDAV/TbSync: fix wrong/minimal privileges on sub-collections causing TbSync not to display this calendars or addressbooks
This commit is contained in:
parent
963eb9e916
commit
2c26241b8c
@ -521,11 +521,7 @@ abstract class Handler
|
||||
{
|
||||
unset($path); // not used, but required by function signature
|
||||
|
||||
static $grants=null;
|
||||
if (is_null($grants))
|
||||
{
|
||||
$grants = $this->get_grants();
|
||||
}
|
||||
$grants = $this->get_grants();
|
||||
$priviledes = array('read-current-user-privilege-set' => 'read-current-user-privilege-set');
|
||||
|
||||
if (is_null($user) || $grants[$user] & Api\Acl::READ)
|
||||
|
Loading…
Reference in New Issue
Block a user