chg: [CRUD:add] Always allow UUID field to be set
parent
7add89aa9e
commit
524dd10aae
|
@ -129,7 +129,8 @@ class CRUDComponent extends Component
|
|||
}
|
||||
if ($this->request->is('post')) {
|
||||
$patchEntityParams = [
|
||||
'associated' => []
|
||||
'associated' => [],
|
||||
'accessibleFields' => ['uuid' => true],
|
||||
];
|
||||
if (!empty($params['id'])) {
|
||||
unset($params['id']);
|
||||
|
|
Loading…
Reference in New Issue