Register DAVACL plugin to provide current-user-principal
This commit is contained in:
parent
2e8d8bf4ef
commit
836173289f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue