chg: [Organisation] Entity accessibility rules
- make created only accessible when creating new objectscli-modification-summary
parent
c186c88d5c
commit
4b5bccae28
|
@ -10,5 +10,10 @@ class Organisation extends AppModel
|
|||
protected $_accessible = [
|
||||
'*' => true,
|
||||
'id' => false,
|
||||
'created' => false
|
||||
];
|
||||
|
||||
protected $_accessibleOnNew = [
|
||||
'created' => true
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue