only the mount point has delete and update permissions to enable rename operation
This commit is contained in:
parent
84d36df70b
commit
70ca292fd9
|
@ -896,7 +896,7 @@ class View {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($mount instanceof MoveableMount) {
|
if ($mount instanceof MoveableMount && $internalPath === '') {
|
||||||
$data['permissions'] |= \OCP\PERMISSION_DELETE | \OCP\PERMISSION_UPDATE;
|
$data['permissions'] |= \OCP\PERMISSION_DELETE | \OCP\PERMISSION_UPDATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue