fix: [sync] created field rules added

- should stop issues of SG/Individual downloads from remote brood
pull/92/head
iglocska 2022-01-31 09:35:33 +01:00
parent 8b6fc78695
commit 5fbd53883f
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
3 changed files with 4 additions and 1 deletions

View File

@ -7,5 +7,4 @@ use Cake\ORM\Entity;
class EncryptionKey extends AppModel
{
}

View File

@ -11,10 +11,12 @@ class Individual extends AppModel
'*' => true,
'id' => false,
'uuid' => false,
'created' => false,
];
protected $_accessibleOnNew = [
'uuid' => true,
'created' => true,
];
protected $_virtual = ['full_name'];

View File

@ -13,11 +13,13 @@ class SharingGroup extends AppModel
'uuid' => false,
'organisation_id' => false,
'user_id' => false,
'created' => false
];
protected $_accessibleOnNew = [
'uuid' => true,
'organisation_id' => true,
'user_id' => true,
'created' => true
];
}