diff --git a/apps/dav/lib/CalDAV/Calendar.php b/apps/dav/lib/CalDAV/Calendar.php index 92ad3242d783e..484db21db85a8 100644 --- a/apps/dav/lib/CalDAV/Calendar.php +++ b/apps/dav/lib/CalDAV/Calendar.php @@ -168,12 +168,6 @@ public function getACL() { ]; } - $acl[] = [ - 'privilege' => '{DAV:}write-properties', - 'principal' => $this->getOwner() . '/calendar-proxy-read', - 'protected' => true, - ]; - if (!$this->isShared()) { return $acl; } diff --git a/apps/dav/tests/unit/CalDAV/CalendarTest.php b/apps/dav/tests/unit/CalDAV/CalendarTest.php index 95cedb6da6aa6..117d1117c9f07 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarTest.php @@ -253,12 +253,6 @@ public function testAcl($expectsWrite, $readOnlyValue, $hasOwnerSet, $uri = 'def ]; } - $expectedAcl[] = [ - 'privilege' => '{DAV:}write-properties', - 'principal' => ($hasOwnerSet ? 'user1' : 'user2') . '/calendar-proxy-read', - 'protected' => true - ]; - if ($hasOwnerSet) { $expectedAcl[] = [ 'privilege' => '{DAV:}read',