diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-27 17:28:56 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-27 17:28:56 +0200 |
commit | db3f0cee4ad140f69d976727f33452c796a67288 (patch) | |
tree | a403e3c04f187941cd7de7081abec323485470b8 | |
parent | 6f5d5b9a307f0c3d4f751c5bd7b877757637b309 (diff) | |
download | nextcloud-server-db3f0cee4ad140f69d976727f33452c796a67288.tar.gz nextcloud-server-db3f0cee4ad140f69d976727f33452c796a67288.zip |
Fix parsing of webdav permissions
-rw-r--r-- | lib/private/files/storage/dav.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/files/storage/dav.php b/lib/private/files/storage/dav.php index 788ae41e2bc..8b97f750204 100644 --- a/lib/private/files/storage/dav.php +++ b/lib/private/files/storage/dav.php @@ -451,8 +451,9 @@ class DAV extends \OC\Files\Storage\Common { if (strpos($permissionsString, 'W') !== false) { $permissions |= \OCP\PERMISSION_UPDATE; } - if (strpos($permissionsString, 'C') !== false) { + if (strpos($permissionsString, 'CK') !== false) { $permissions |= \OCP\PERMISSION_CREATE; + $permissions |= \OCP\PERMISSION_UPDATE; } return $permissions; } |