Jump to content

CakePHP - Auth & ACL


louis_coetzee

Recommended Posts

Hi Everyone,

 

I have the following question:

 

I have a users table in my db, but I have 3 different types of users, now I know that I should use ACL and thats what I will do, but for each of the 3 users I will be collecting different information. As an example: Tables: Empoyees (in place of users) + fin_employees_profiles (finance) + mech_empoyees_profiles (mechanical) and pilots_employees_profiles

 

How would I go about linking this up.

Also lets say registration for each is for a different view: http://localhost/employees/register/finance

 

how will I write to 2 different table when in the users controller, because now I want to insert (create) data in both users and the fin_employees_profiles tables.

 

Please help.

And if you don't understand something, please ask, I will try to clarify.

Link to comment
https://forums.phpfreaks.com/topic/250685-cakephp-auth-acl/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.