From 2da510af0b537e3bef7d0563eff828bade51fcbd Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 28 May 2018 20:12:13 +0200 Subject: add resource / room principals Signed-off-by: Georg Ehrke --- apps/dav/lib/Server.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/dav/lib/Server.php') diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index a401fb57045..231ab913195 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -132,13 +132,15 @@ class Server { // acl $acl = new DavAclPlugin(); $acl->principalCollectionSet = [ - 'principals/users', 'principals/groups' + 'principals/users', 'principals/groups', + 'principals/calendar-resources', + 'principals/calendar-rooms', ]; $acl->defaultUsernamePath = 'principals/users'; $this->server->addPlugin($acl); // calendar plugins - if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'principals'])) { + if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'system-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()); -- cgit v1.2.3