Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.