Hello,

I want to set up a new project, using CakePHP 1.3 and have one big
problem.

I have set up all the tables i need, but i have 2 "user-tables" called
users and agents.
I want to set up 2 different login sites, one for the users and one
for the agents (who have more or the less CRUD-Gui for the items they
are linked with).

But i have no clue, how to tell cake, that only "agents" have access
to the administration an not all the users.
---> Would one table "users" with acl be the best way?

there is also one other thing, i have the tables:
agents
agents_events       -----> "administrating"
agents_locations    -----> "administrating"
users
users_event          -----> "attending"
locations_users     -----> "bookmarked"

this is very convenient, because i have the agents and the users baked
in their own controller, which i wouldn't have if the agents and users
would be in one table, the problem is, that the agents and users have
different actions & fields in the database.

Is there an best-practice-way to have at least 2 different
loginsystems? (e.g. Frontend / Backenduser) ?

LG.
Jo

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

Reply via email to