Thursday, February 24, 2011

Re: hiding link from certain users.

On Wed, Feb 23, 2011 at 10:22 PM, Kid Hell <slayoungunner@gmail.com> wrote:
> thank you for your reply..but i still can't get it right.. I'm a slow
> learner. Can you please explain deeper on the (Auth.User.group_id') part.
>
> this is what the table in db looks like
>
> id                      usrname
> pass                              superuser
>
>  1                       jill
> 12345                                    1
>  2                       john
> 54321                                    0
>  3                       kurt                  32145
>                                    0


I presume these are example data but, to just to be clear, the
passwords must be hashed before saving to the DB.

--
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: