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 0e107bc63c
commit 359a583186
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
1 changed files with 2 additions and 3 deletions

View File

@ -331,11 +331,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':