No grant required for inviting a contact

This commit is contained in:
Hadi Nategh 2018-10-09 18:09:20 +02:00
parent 32739d64d6
commit e225b2d0ec

View File

@ -511,8 +511,10 @@ class calendar_boupdate extends calendar_bo
{
// Resource specific ACL check
return call_user_func($this->resources[$uid[0]]['check_invite'], $uid);
}
elseif (!is_numeric($uid)) // contact, no grant required
{
$ret = true;
}
elseif (!$this->require_acl_invite)
{