mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: Check if it is deletable and updatable
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
a219b606ee
commit
9a06ac71a4
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class DirPermissionsMask extends PermissionsMask {
|
|||
}
|
||||
|
||||
public function rename($source, $target): bool {
|
||||
if (!$this->isDeletable($source)) {
|
||||
if (!($this->isDeletable($source) || $this->isUpdatable($source))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue