User 1 would not be allowed to login. User 2 would be allowed to login. userScope is usually used for things like email activation (If the user clicks the private link in the email, it goes to a unique url, which then sets the userScope to 1 from 0 and that user can then login)
On 11 February 2011 08:29, zero00 <[email protected]> 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 > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Kind Regards Stephen @ NinjaCoderMonkey www.ninjacodermonkey.co.uk -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
