Re: ACL not denying access to protected actions

2009-08-07 Thread robh
Like a charm! Added parent::beforeFilter(); to all my controllers and it works as expected. Thanks a lot. On 7 Aug, 20:12, Josh wrote: > My problem was that I had removed the parent::beforeFilter(); > statement from my controllers. It seems like the section of the > Cookbook where it says to in

Re: ACL not denying access to protected actions

2009-08-07 Thread Josh
My problem was that I had removed the parent::beforeFilter(); statement from my controllers. It seems like the section of the Cookbook where it says to insert this line might lead you to believe that you only need it when using $this->Auth->allowedActions. In fact, this is the only way to assure t

Re: ACL not denying access to protected actions

2009-08-07 Thread robh
Hi, (Sorry, meant to reply to the group) Have you had any joy with this issue? I am struggling with exactly the same problem you have described. Cheers On Aug 3, 5:53 am, Josh wrote: > Hello, > > I have been working on an app for quite a while now, and I have just > noticed that myACLdoesn't

Re: ACL not denying access to protected actions

2009-08-03 Thread michas
Show your code where you check permissions --~--~-~--~~~---~--~~ 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

ACL not denying access to protected actions

2009-08-02 Thread Josh
Hello, I have been working on an app for quite a while now, and I have just noticed that my ACL doesn't seem to be doing anything: once logged in, all actions are allowed. I have checked through the ACL tutorial in the manual a few times and even removed and replaced the code snippets. I have no