Skip to content

Commit 68545df

Browse files
authored
Merge pull request #641 from utopia-php/skip-perms-true
Skip permissions update true
2 parents a893ea6 + fca813d commit 68545df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4108,7 +4108,7 @@ public function updateDocument(string $collection, string $id, Document $documen
41084108
fn () => $this->getDocument($collection->getId(), $id, forUpdate: true)
41094109
));
41104110

4111-
$skipPermissionsUpdate = false;
4111+
$skipPermissionsUpdate = true;
41124112

41134113
if ($document->offsetExists('$permissions')) {
41144114
$originalPermissions = $old->getPermissions();

0 commit comments

Comments
 (0)