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
0f76ff5ab5
commit
4f16b71ea5
@ -936,7 +936,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