Friday, October 29, 2010

Auth->deny problem

Hi there,

I don't know what's happening with the Auth->deny function, but I
can't make it work properly.

Such a function:

function beforeFilter()
{
parent::beforeFilter();

$this->Auth->deny('overview');
}

in my Users controllers should forbid the access to the url '/users/
overview' right? Well it doesn't work at all, I still can access this
url.

Does anybody know what's happening here?

Thanks in advance,

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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: