diff --git a/apps/dav/lib/server.php b/apps/dav/lib/server.php index 055c5a5fc2c841af93b4d106a0211f63ffb44fe1..22171b74d37084c46d3d554c98875c94abb2cba3 100644 --- a/apps/dav/lib/server.php +++ b/apps/dav/lib/server.php @@ -33,6 +33,8 @@ class Server { $this->server->addPlugin(new BlockLegacyClientPlugin(\OC::$server->getConfig())); $this->server->addPlugin(new Plugin($authBackend, 'ownCloud')); + $this->server->addPlugin(new \Sabre\DAVACL\Plugin()); + // wait with registering these until auth is handled and the filesystem is setup $this->server->on('beforeMethod', function () { // custom properties plugin must be the last one