Исходный ответ для CakePHP 1.2 до 2.2.x:
public function beforeFilter() {
if (isset($this->Security) && $this->action == 'add_note') {
$this->Security->validatePost = false;
}
}
Обновленный ответ для CakePHP 2.3+ и 3.x (как указано в другом ответе ):
public function beforeFilter(Event $event)
{
$this->Security->config('unlockedActions', ['add_note']);
}
Кроме того, можно разблокировать определенные поля (как указано в в комментариях )
$this->Form->unlockField('Note.id');