fix parsing of dav permissions

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-07-03 15:37:26 +02:00
parent d7620e3970
commit 8bfa3922a3
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
1 changed files with 2 additions and 3 deletions

View File

@ -338,11 +338,10 @@
case 'C':
case 'K':
data.permissions |= OC.PERMISSION_CREATE;
if (!isFile) {
data.permissions |= OC.PERMISSION_UPDATE;
}
break;
case 'W':
case 'N':
case 'V':
data.permissions |= OC.PERMISSION_UPDATE;
break;
case 'D':