diff --git a/src/Migration/Destinations/Appwrite.php b/src/Migration/Destinations/Appwrite.php index 04e6cf96bf..1b7c4d2362 100644 --- a/src/Migration/Destinations/Appwrite.php +++ b/src/Migration/Destinations/Appwrite.php @@ -3152,7 +3152,7 @@ class Appwrite extends Destination try { $this->dbForPlatform->createDocument('keys', new UtopiaDocument([ '$id' => ID::unique(), - '$permissions' => [], + '$permissions' => $resource->getPermissions(), 'resourceInternalId' => $this->projectInternalId, 'resourceId' => $this->project, 'resourceType' => 'projects',