summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2016-04-13 17:31:47 +0200
committerBjörn Schießle <schiessle@owncloud.com>2016-04-20 17:47:32 +0200
commite906796f99eaaea26cfbb3055ccc27024470b410 (patch)
treea2ae2ae3490def33c2bb1359733d94481e067300 /lib/private
parent52669d0ea3d687b79a9ee04c6351e6793803ecb4 (diff)
downloadnextcloud-server-e906796f99eaaea26cfbb3055ccc27024470b410.tar.gz
nextcloud-server-e906796f99eaaea26cfbb3055ccc27024470b410.zip
ask for share-permissions on propfind
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/files/storage/dav.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/files/storage/dav.php b/lib/private/files/storage/dav.php
index df0f4c7e91d..a5555372250 100644
--- a/lib/private/files/storage/dav.php
+++ b/lib/private/files/storage/dav.php
@@ -246,7 +246,7 @@ class DAV extends Common {
*
* @throws NotFound
*/
- private function propfind($path) {
+ protected function propfind($path) {
$path = $this->cleanPath($path);
$cachedResponse = $this->statCache->get($path);
if ($cachedResponse === false) {
@@ -264,6 +264,7 @@ class DAV extends Common {
'{DAV:}getcontentlength',
'{DAV:}getcontenttype',
'{http://owncloud.org/ns}permissions',
+ '{http://open-collaboration-services.org/ns}share-permissions',
'{DAV:}resourcetype',
'{DAV:}getetag',
)