summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-02-10 20:01:25 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-02-10 20:01:25 -0500
commita6bd086867a616216fc53b81ed7d41a9cb816c2e (patch)
treeb7a888b8cff522b282c7643a67ac0c057c5dfc5f /apps/files_sharing
parent56df48b40f0eb69dff014ef1cc43a2ef9c095506 (diff)
downloadnextcloud-server-a6bd086867a616216fc53b81ed7d41a9cb816c2e.tar.gz
nextcloud-server-a6bd086867a616216fc53b81ed7d41a9cb816c2e.zip
Set permissions to read only
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index dfaf4c00a6f..2862ad510ee 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -142,6 +142,7 @@ if (isset($path)) {
}
}
$i['directory'] = $dir;
+ $i['permissions'] = OCP\PERMISSION_READ;
$files[] = $i;
}
// Make breadcrumb