diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-02-29 17:30:02 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-02-29 20:53:38 +0100 |
commit | d04edfaf0dee3c2f1b4347a4ed36a79477d4a3f9 (patch) | |
tree | 0b2e653611b941193f012901a535fccd754feb25 /apps/dav/lib/server.php | |
parent | 52d217d77519ed95a18237b09a351f83a0ae7f47 (diff) | |
download | nextcloud-server-d04edfaf0dee3c2f1b4347a4ed36a79477d4a3f9.tar.gz nextcloud-server-d04edfaf0dee3c2f1b4347a4ed36a79477d4a3f9.zip |
Hides nodes from listing that the user has no access to
Diffstat (limited to 'apps/dav/lib/server.php')
-rw-r--r-- | apps/dav/lib/server.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/server.php b/apps/dav/lib/server.php index 55ae6c62d31..2aa720c9dc4 100644 --- a/apps/dav/lib/server.php +++ b/apps/dav/lib/server.php @@ -26,6 +26,7 @@ use OCA\DAV\CalDAV\Schedule\IMipPlugin; use OCA\DAV\Connector\FedAuth; use OCA\DAV\Connector\Sabre\Auth; use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin; +use OCA\DAV\Connector\Sabre\DavAclPlugin; use OCA\DAV\Connector\Sabre\FilesPlugin; use OCA\DAV\Files\CustomPropertiesBackend; use OCP\IRequest; @@ -72,7 +73,7 @@ class Server { $this->server->addPlugin(new \Sabre\DAV\Sync\Plugin()); // acl - $acl = new \Sabre\DAVACL\Plugin(); + $acl = new DavAclPlugin(); $acl->defaultUsernamePath = 'principals/users'; $this->server->addPlugin($acl); |