Thursday, June 23, 2011

Re: Auth allow

Hi. in your controller u can user like this:

function beforeFilter(){
        parent::beforeFilter();
            $this->Auth->allow('action names');
           
    }
it will work


On Fri, Jun 24, 2011 at 10:55 AM, Prabha Vathi <prabha.riddles@gmail.com> wrote:
Hi,

In my website, users are not just allowed in profile edit page.
Should i include all the controller actions except edit in Auth allow? Or is there any other method?

Thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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



--
Master Ram.
Founder n Director of rgPlanets Pvt. Ltd.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: