diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index b9f411ae7ece5..a401fb5704514 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -138,7 +138,7 @@ public function __construct(IRequest $request, $baseUri) { $this->server->addPlugin($acl); // calendar plugins - if ($this->requestIsForSubtree(['calendars', 'principals'])) { + if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'principals'])) { $this->server->addPlugin(new \OCA\DAV\CalDAV\Plugin()); $this->server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin()); $this->server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin());