diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-09-25 18:01:56 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-09-25 18:01:56 +0200 |
commit | 7b8c7aaf0d851823f8b602fa875bea9d2f701c2d (patch) | |
tree | bbc9b5371063cab2e87b2658276fdff272f6f959 | |
parent | 80fde2d8d1a0f70a62416241a9bf9c8e4f0ac489 (diff) | |
download | nextcloud-server-7b8c7aaf0d851823f8b602fa875bea9d2f701c2d.tar.gz nextcloud-server-7b8c7aaf0d851823f8b602fa875bea9d2f701c2d.zip |
Add missing Sharing permission
-rw-r--r-- | apps/files_sharing/appinfo/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
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') { |