fix: [encryptionKeys:add] Make sure to compare owner_id with individual_id

perm_community_admin
Sami Mokaddem 2024-03-29 16:46:47 +01:00
parent 3a3494df8c
commit 91cd9eb180
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ class EncryptionKeysTable extends AppTable
return true; return true;
} }
} else { } else {
if ($entity['owner_id'] === $user['id']) { if ($entity['owner_id'] === $user['individual_id']) {
return true; return true;
} }
} }