From 7b8c7aaf0d851823f8b602fa875bea9d2f701c2d Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 25 Sep 2012 18:01:56 +0200 Subject: Add missing Sharing permission --- apps/files_sharing/appinfo/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php index 857d0914872..21f23c652d1 100644 --- a/apps/files_sharing/appinfo/update.php +++ b/apps/files_sharing/appinfo/update.php @@ -19,7 +19,7 @@ if (version_compare($installedVersion, '0.3', '<')) { $itemType = 'file'; } if ($row['permissions'] == 0) { - $permissions = OCP\Share::PERMISSION_READ; + $permissions = OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_SHARE; } else { $permissions = OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_UPDATE | OCP\Share::PERMISSION_SHARE; if ($itemType == 'folder') { -- cgit v1.2.3