diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-06-08 08:00:52 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-06-08 08:00:52 +0200 |
commit | 9563c25c694885fc94a4cfb2f10db72efcd532c8 (patch) | |
tree | eccb7d3f28e14c1061debec1b74930d367261542 /apps/dav/lib | |
parent | a74901fce17da6d88dbb82373fff523b834d692d (diff) | |
download | nextcloud-server-9563c25c694885fc94a4cfb2f10db72efcd532c8.tar.gz nextcloud-server-9563c25c694885fc94a4cfb2f10db72efcd532c8.zip |
allow PropPatch requests to contact_birthdays
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r-- | apps/dav/lib/CalDAV/Calendar.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/Calendar.php b/apps/dav/lib/CalDAV/Calendar.php index 9c56398b14c..c03bf98ee38 100644 --- a/apps/dav/lib/CalDAV/Calendar.php +++ b/apps/dav/lib/CalDAV/Calendar.php @@ -122,7 +122,14 @@ class Calendar extends \Sabre\CalDAV\Calendar implements IShareable { 'principal' => $this->getOwner(), 'protected' => true, ]; + } else { + $acl[] = [ + 'privilege' => '{DAV:}write-properties', + 'principal' => $this->getOwner(), + 'protected' => true, + ]; } + if ($this->getOwner() !== parent::getOwner()) { $acl[] = [ 'privilege' => '{DAV:}read', |