Have you tried moving the line

  parent::beforeFilter()

below the lines where you set the AuthComponent variables (or possibly
removing it alltogether)?  It may be that the AuthComponent's
loginAction is being "processed" in the AppController's
beforeFilter(), before the userScope is being set in your
AdminsController.

On Feb 11, 12:29 am, zero00 <jmejia...@gmail.com> wrote:
> I dont wanna use ACL.  I was under the impresion if I had a db row that had
>
> username    password     admin
> user1           pass1           0
> user2           pass2           1
>
> by using Auth->userScope
> -  user1 would be denied
> -  user2 would be granted acess

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to