Skip to content

Commit 2082ab8

Browse files
Merge pull request #4362 from nextcloud/backport/4361/stable32
2 parents fcdc161 + 4f81daa commit 2082ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ACL/ACLStorageWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function rename(string $source, string $target): bool {
9393

9494
return ($sourceParent === $targetParent
9595
|| $this->checkPermissions($sourceParent, Constants::PERMISSION_DELETE))
96-
&& $this->checkPermissions($source, Constants::PERMISSION_UPDATE & Constants::PERMISSION_READ)
96+
&& $this->checkPermissions($source, Constants::PERMISSION_UPDATE | Constants::PERMISSION_READ)
9797
&& $this->checkPermissions($target, $permissions)
9898
&& parent::rename($source, $target);
9999
}

0 commit comments

Comments
 (0)