summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CalDAV')
-rw-r--r--apps/dav/lib/CalDAV/Calendar.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/Calendar.php b/apps/dav/lib/CalDAV/Calendar.php
index 9c56398b14c..9f4e30710ec 100644
--- a/apps/dav/lib/CalDAV/Calendar.php
+++ b/apps/dav/lib/CalDAV/Calendar.php
@@ -135,6 +135,12 @@ class Calendar extends \Sabre\CalDAV\Calendar implements IShareable {
'principal' => parent::getOwner(),
'protected' => true,
];
+ } else {
+ $acl[] = [
+ 'privilege' => '{DAV:}write-properties',
+ 'principal' => parent::getOwner(),
+ 'protected' => true,
+ ];
}
}
if ($this->isPublic()) {