Trim createApiKey permissions comment

This commit is contained in:
Prem Palanisamy committed 2026-05-14 10:48:55 +01:00
1 parent ffce3ca400
commit 59479d04d2
1 file changed
+1 -2
+1 -2
View File
@@ -3151,8 +3151,7 @@ class Appwrite extends Destination
try {
$this->dbForPlatform->createDocument('keys', new UtopiaDocument([
'$id' => ID::unique(),
// SDK's Key model doesn't expose $permissions, so we can't copy source perms through.
// 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.
'$permissions' => [
Permission::read(Role::any()),
Permission::update(Role::any()),