From 836173289fe313d95755f63d81a2619e7d6b06d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 9 Nov 2015 13:27:19 +0100 Subject: [PATCH] Register DAVACL plugin to provide current-user-principal --- apps/dav/lib/server.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/dav/lib/server.php b/apps/dav/lib/server.php index 055c5a5fc2..22171b74d3 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