mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-07-12 12:25:09 +02:00
* 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:
@ -936,7 +936,7 @@ class addressbook_groupdav extends groupdav_handler
|
|||||||
*/
|
*/
|
||||||
function check_access($acl,$contact)
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user