No grant required for inviting a contact

This commit is contained in:
Hadi Nategh 2018-10-09 18:09:20 +02:00
parent d8e6c3b919
commit 8808f15934

View File

@ -511,8 +511,10 @@ class calendar_boupdate extends calendar_bo
{ {
// Resource specific ACL check // Resource specific ACL check
return call_user_func($this->resources[$uid[0]]['check_invite'], $uid); 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) elseif (!$this->require_acl_invite)
{ {