summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-05-28 20:12:13 +0200
committerGeorg Ehrke <developer@georgehrke.com>2018-06-25 04:58:07 +0200
commit2da510af0b537e3bef7d0563eff828bade51fcbd (patch)
treea5e5d3ec9884ba47853bf87577a546110a718cd2 /apps/dav/lib/Server.php
parent29b777e7d1d26a3b75b0aabcca394170e6043939 (diff)
downloadnextcloud-server-2da510af0b537e3bef7d0563eff828bade51fcbd.tar.gz
nextcloud-server-2da510af0b537e3bef7d0563eff828bade51fcbd.zip
add resource / room principals
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r--apps/dav/lib/Server.php6
1 files changed, 4 insertions, 2 deletions
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());