True, but only if you pass zero arguements or '*'. I'd forgotten about that. Otherwise, it amounts to the same thing.
function allow() { $args = func_get_args(); if (empty($args) || $args == array('*')) { $this->allowedActions = $this->_methods; } else { if (isset($args[0]) && is_array($args[0])) { $args = $args[0]; } $this->allowedActions = array_merge($this->allowedActions, $args); } } On Thu, Jul 30, 2009 at 9:47 PM, Miles J<mileswjohn...@gmail.com> wrote: > > No you should use allow(). > > http://book.cakephp.org/view/563/Setting-Auth-Component-Variables > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---