]> source.dussan.org Git - nextcloud-server.git/commitdiff
WebDAV Permissions: Distinguish between renameing and moving
authorMarkus Goetz <markus@woboq.com>
Thu, 5 Jun 2014 12:39:06 +0000 (14:39 +0200)
committerMarkus Goetz <markus@woboq.com>
Thu, 5 Jun 2014 12:39:06 +0000 (14:39 +0200)
lib/private/connector/sabre/node.php

index 8a369eccf6b20c0421524ec2d8506da0543c718d..6fc66377ba88d681ffca36b44e077e61d70e0627 100644 (file)
@@ -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()) {