diff options
Diffstat (limited to 'apps/calendar/appinfo/remote.php')
-rw-r--r-- | apps/calendar/appinfo/remote.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/calendar/appinfo/remote.php b/apps/calendar/appinfo/remote.php index e8f9e80c7a8..71f1f378ae4 100644 --- a/apps/calendar/appinfo/remote.php +++ b/apps/calendar/appinfo/remote.php @@ -30,6 +30,9 @@ $nodes = array( $server = new Sabre_DAV_Server($nodes); $server->setBaseUri($baseuri); // Add plugins +$aclPlugin = new Sabre_DAVACL_Plugin(); +$aclPlugin->hideNodesFromListings = true; +$server->addPlugin($aclPlugin); $server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend,'ownCloud')); $server->addPlugin(new Sabre_CalDAV_Plugin()); $server->addPlugin(new Sabre_DAVACL_Plugin()); |