mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01: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:
parent
ed56f6b4f5
commit
c020e0aae8
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user