* CardDAV/Addressbook: do NOT allow to delete accounts via CardDAV, was never intended, but as it is allowed in addressbook, it was possible via CardDAV

This commit is contained in:
Ralf Becker 2013-01-22 13:19:43 +00:00
parent ed56f6b4f5
commit c020e0aae8

View File

@ -857,7 +857,7 @@ class addressbook_groupdav extends groupdav_handler
*/
function check_access($acl,$contact)
{
return $this->bo->check_perms($acl,$contact);
return $this->bo->check_perms($acl, $contact, true); // true = deny to delete accounts
}
/**