Re: Authentication for admin and public user in one(1) app

2008-08-24 Thread Sam Sherlock
have a look at these. check the role in the isAuthorized function http://book.cakephp.org/view/396/authorize I would not have a separate table for admins (maybe others might disagree with me here; it may be suited to your intentions to do so) I would prevent them based on their role more info

Authentication for admin and public user in one(1) app

2008-08-23 Thread mario
Hello everyone, I just learn cakephp and I'm having trouble creating the admin section of my app. These are what I've done so far. 1. I've created a user section with the capabilities of login/logout and signup. 2. I've created a users table for it. 3. I've overriden the app_controller and