Disable SecurityComponent - CakePHP + Croogo

2

I'm developing a plugin for Croogo, and I need to create just one more text field, at the nodes.

The field appears in the Nodes tabs and is ok, but my problem is when I am saving the data, a security error message appears:

  

Security Error

     

The requested address was not found on this server.

     

Request lost due to "auth" violation

It would be possible to disable it with:

$this->Security->unlockedActions[] = 'admin_toggle';

However, it is not possible to do this directly in Nodes / NodesController.php , since Croogo is installed via composer, so I need to do this through my plugin. But how?

    
asked by anonymous 30.01.2015 / 14:10

0 answers