Greetings!  

I am using the Alaxos ACL plugin - which, is pretty awesome.  The only 
issue I am having, and I haven't had on any of my other applications is 
with beforeFilter(). 

*In my AppController I have the following:*

function beforeFilter() { parent::beforeFilter(); 
$this->Auth->allow('index'); } 

This seems to work without any issue.  When viewing any index the 
application allows the view - and on any other action redirects to the 
login action.  However, I don't want to allow any of the *index* actions, 
rather I only want to show the *'view' *actions.  Seem easy right?  

*But, alas, if I change this line to:*

function beforeFilter() { parent::beforeFilter(); 
$this->Auth->allow('view'); } 

I am redirected to the login action for *all* actions.

What the heck am I doing wrong?  I have been struggling with this for two 
days.  Help is greatly appreciated.

Thanks!

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to