fix: [sync] created field rules added
- should stop issues of SG/Individual downloads from remote broodpull/92/head
parent
8b6fc78695
commit
5fbd53883f
|
|
@ -7,5 +7,4 @@ use Cake\ORM\Entity;
|
||||||
|
|
||||||
class EncryptionKey extends AppModel
|
class EncryptionKey extends AppModel
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,12 @@ class Individual extends AppModel
|
||||||
'*' => true,
|
'*' => true,
|
||||||
'id' => false,
|
'id' => false,
|
||||||
'uuid' => false,
|
'uuid' => false,
|
||||||
|
'created' => false,
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $_accessibleOnNew = [
|
protected $_accessibleOnNew = [
|
||||||
'uuid' => true,
|
'uuid' => true,
|
||||||
|
'created' => true,
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $_virtual = ['full_name'];
|
protected $_virtual = ['full_name'];
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,13 @@ class SharingGroup extends AppModel
|
||||||
'uuid' => false,
|
'uuid' => false,
|
||||||
'organisation_id' => false,
|
'organisation_id' => false,
|
||||||
'user_id' => false,
|
'user_id' => false,
|
||||||
|
'created' => false
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $_accessibleOnNew = [
|
protected $_accessibleOnNew = [
|
||||||
'uuid' => true,
|
'uuid' => true,
|
||||||
'organisation_id' => true,
|
'organisation_id' => true,
|
||||||
'user_id' => true,
|
'user_id' => true,
|
||||||
|
'created' => true
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue