]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(caldav): allow listing of room and resource principals 46919/head
authorRichard Steinmetz <richard@steinmetz.cloud>
Wed, 31 Jul 2024 13:47:02 +0000 (15:47 +0200)
committerRichard Steinmetz <richard@steinmetz.cloud>
Wed, 31 Jul 2024 13:47:02 +0000 (15:47 +0200)
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
apps/dav/lib/RootCollection.php

index fd7adaea51e8079f90c3278798e3134582d813d7..d9ba4c3e2a6cbc796d76ec071110ad29f4e93bdf 100644 (file)
@@ -75,9 +75,7 @@ class RootCollection extends SimpleCollection {
                $systemPrincipals = new Collection(new SystemPrincipalBackend(), 'principals/system');
                $systemPrincipals->disableListing = $disableListing;
                $calendarResourcePrincipals = new Collection($calendarResourcePrincipalBackend, 'principals/calendar-resources');
-               $calendarResourcePrincipals->disableListing = $disableListing;
                $calendarRoomPrincipals = new Collection($calendarRoomPrincipalBackend, 'principals/calendar-rooms');
-               $calendarRoomPrincipals->disableListing = $disableListing;
                $calendarSharingBackend = \OC::$server->get(Backend::class);
 
                $filesCollection = new Files\RootCollection($userPrincipalBackend, 'principals/users');