http://groups.google.com/group/cake-php/browse_thread/thread/0589ac153198c0a1
On Thu, Mar 26, 2009 at 8:28 PM, JamesF <usaexportexperts@gmail.com> wrote:
>
> Hi guys,
>
> basically AuthComponent is not denying actions that are CamelCased!
> (for me anyway)
>
> function beforeFilter() {
> parent::beforeFilter();
> $this->Auth->autoRedirect = false;
>
> //$this->Auth->allow('index','view');
> $this->Auth->deny('getState');
>
> }
>
> when i go to action 'getState' nothing is denied.
>
> if i have a one word simple action like 'state' , or 'index', or
> 'delete' then the action is denied!
>
>
> any solutions other than making all my actions single words?
> >
>
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment