summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/RootCollection.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-05 21:26:29 +0200
committerGeorg Ehrke <developer@georgehrke.com>2018-06-25 04:58:07 +0200
commitb832edabbfce23daca6edbb010c4bf180123930f (patch)
tree9543d288a056d15da0b0fa879b9a345de20ef5b7 /apps/dav/lib/RootCollection.php
parent2da510af0b537e3bef7d0563eff828bade51fcbd (diff)
downloadnextcloud-server-b832edabbfce23daca6edbb010c4bf180123930f.tar.gz
nextcloud-server-b832edabbfce23daca6edbb010c4bf180123930f.zip
apply group restrictions to resources
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/RootCollection.php')
-rw-r--r--apps/dav/lib/RootCollection.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php
index 787e869770b..9a3261c388c 100644
--- a/apps/dav/lib/RootCollection.php
+++ b/apps/dav/lib/RootCollection.php
@@ -58,8 +58,8 @@ class RootCollection extends SimpleCollection {
$config
);
$groupPrincipalBackend = new GroupPrincipalBackend($groupManager);
- $calendarResourcePrincipalBackend = new ResourcePrincipalBackend($db, $userSession, $groupManager);
- $calendarRoomPrincipalBackend = new RoomPrincipalBackend($db, $userSession, $groupManager);
+ $calendarResourcePrincipalBackend = new ResourcePrincipalBackend($db, $userSession, $groupManager, $logger);
+ $calendarRoomPrincipalBackend = new RoomPrincipalBackend($db, $userSession, $groupManager, $logger);
// as soon as debug mode is enabled we allow listing of principals
$disableListing = !$config->getSystemValue('debug', false);