hi i am using the tutorial for simple user authentication for general login to my site, now i am also using cake's admin routing for the admin part of the site, and i would like to make an additional check so that only the administrator can go into that part, any advice how to achieve this? I was thinking of adding a user level field when creating a new user, then storing that in the session on login, and finally checking for user level if there is an attempt to access an admin function. does this sound like a good method? thanks
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
