diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-02-10 20:01:25 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-02-10 20:01:25 -0500 |
commit | a6bd086867a616216fc53b81ed7d41a9cb816c2e (patch) | |
tree | b7a888b8cff522b282c7643a67ac0c057c5dfc5f /apps/files_sharing | |
parent | 56df48b40f0eb69dff014ef1cc43a2ef9c095506 (diff) | |
download | nextcloud-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.php | 1 |
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 |