summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-09 16:02:05 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-09 16:02:05 +0100
commit3ee6fda8ec25f73868bd4c88aecb84d3a3b1117c (patch)
treebc5e8ed61562649d6b205c575c727f10ec4d5923
parent37c5edc20211861297c50f59cbe26bdc5d3b1970 (diff)
parent836173289fe313d95755f63d81a2619e7d6b06d3 (diff)
downloadnextcloud-server-3ee6fda8ec25f73868bd4c88aecb84d3a3b1117c.tar.gz
nextcloud-server-3ee6fda8ec25f73868bd4c88aecb84d3a3b1117c.zip
Merge pull request #20397 from owncloud/fix-carddav-lookup
Register DAVACL plugin to provide current-user-principal
-rw-r--r--apps/dav/lib/server.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/lib/server.php b/apps/dav/lib/server.php
index 055c5a5fc2c..22171b74d37 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