From: Markus Goetz Date: Thu, 5 Jun 2014 12:39:06 +0000 (+0200) Subject: WebDAV Permissions: Distinguish between renameing and moving X-Git-Tag: v7.0.0alpha2~86^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e6665a05429b993b51c41232723a928cc549feb6;p=nextcloud-server.git WebDAV Permissions: Distinguish between renameing and moving --- diff --git a/lib/private/connector/sabre/node.php b/lib/private/connector/sabre/node.php index 8a369eccf6b..6fc66377ba8 100644 --- a/lib/private/connector/sabre/node.php +++ b/lib/private/connector/sabre/node.php @@ -257,7 +257,7 @@ abstract class OC_Connector_Sabre_Node implements \Sabre\DAV\INode, \Sabre\DAV\I $p .= 'D'; } if ($this->info->isDeletable()) { - $p .= 'N'; + $p .= 'NV'; // Renameable, Moveable } if ($this->info->getType() === \OCP\Files\FileInfo::TYPE_FILE) { if ($this->info->isUpdateable()) {