We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffce3ca commit 59479d0Copy full SHA for 59479d0
1 file changed
src/Migration/Destinations/Appwrite.php
@@ -3151,8 +3151,7 @@ protected function createApiKey(ApiKey $resource): bool
3151
try {
3152
$this->dbForPlatform->createDocument('keys', new UtopiaDocument([
3153
'$id' => ID::unique(),
3154
- // SDK's Key model doesn't expose $permissions, so we can't copy source perms through.
3155
- // Mirror appwrite/appwrite's createKey controller so migrated docs match natively-created keys.
+ // Match upstream createKey — keys carry no per-doc perm semantics in Appwrite.
3156
'$permissions' => [
3157
Permission::read(Role::any()),
3158
Permission::update(Role::any()),
0 commit comments