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
06f0765e19
commit
8850c29505
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class DirPermissionsMask extends PermissionsMask {
|
|||
|
||||
#[\Override]
|
||||
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