fix: [encryptionKeys:add] Make sure to compare owner_id with individual_id
parent
3a3494df8c
commit
91cd9eb180
|
@ -195,7 +195,7 @@ class EncryptionKeysTable extends AppTable
|
|||
return true;
|
||||
}
|
||||
} else {
|
||||
if ($entity['owner_id'] === $user['id']) {
|
||||
if ($entity['owner_id'] === $user['individual_id']) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue