I'm using the Auth Component in my app_controller.php in the beforeFilter function, which is great for making people login, but I'm having a hard time allowing certain pages. I want all pages in my "Pages" controller to not require authorization, so I added $this- >Auth->allow('*') in my beforeFilter in pages_controller.php. Problem with that is that it overrides the beforeFilter in app_controller.php and I cannot access $this->Auth. I tried adding parent::beforeFilter in pages_controller.php, but it then does not recognize my $this->Auth->allow('*').
I've tried a number of things and read all the tutorials I could find, but still can't find a way to allow an entire controller while maintaining this->Auth. It doesn't seem right that I'd have to add the Auth code to each individual controller. Any ideas? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---