Hi,

An "admin" is a normal user which has tinyint admin set to "1".

"Becoming a user" means to make Auth think that the logged in user is 
the user the admins wants to be. The target is that an admin can see the 
website like the normal user does with all the relations and stuff.

bally.z...@gmail.com wrote:
> Log in? What does "become a User" mean?
> 
> Is Admin extended from User? If not, you can always make 
> AdminsController::uses = array('Admin', 'User') and you can do all the 
> CRUD you want.
> 
> On Apr 12, 2009 4:56pm, Marcel <vermas...@gmail.com> wrote:
>  >
>  >
>  > Hi,
>  >
>  >
>  >
>  > I've got a basic Authentication with the Auth-Component. The Auth Model
>  >
>  > is called 'user'.
>  >
>  >
>  >
>  > I'd like to implement an admin-area where an admin can become an user.
>  >
>  > How can this easily be done?
>  >
>  >
>  >
>  >
>  >
>  > Cheers
>  >
>  >
>  >
>  > Marcel


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

Reply via email to