mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 08:08:33 -04:00
Fix parsing of webdav permissions
This commit is contained in:
parent
6f5d5b9a30
commit
db3f0cee4a
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue