Re: Auth-Component: Check more than 1 Users-Table (more than 1 User-Model)

2009-10-10 Thread braaan
yeah that was my idea today too... (propably much easier and cleaner than adding support for another user-model ;)) thank you! greets On 9 Okt., 18:26, Dr. Loboto drlob...@gmail.com wrote: Users and companies have at least 3 common columns - id, login and password. Keep them in one table and

Auth-Component: Check more than 1 Users-Table (more than 1 User-Model)

2009-10-09 Thread braaan
Hello, my currect application has normal User (Employees) and Company models among others. = Users and companies should be able to login. Users can manage their account and Companies should be able to manage their employees (User). I didn't find a way to check companies- *and* users-table on

Re: Auth-Component: Check more than 1 Users-Table (more than 1 User-Model)

2009-10-09 Thread Dr. Loboto
Users and companies have at least 3 common columns - id, login and password. Keep them in one table and put specific fields in 2 others. Point Auth to 'united' model. That's all. On Oct 9, 9:26 pm, braaan martin.platt...@gmail.com wrote: Hello, my currect application has normal User