fix parsing of dav permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
0e107bc63c
commit
359a583186
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue