User name and group in different tables |
1/31/2007 12:50:36 PM |
PHPRunner General questions | |
T
tparki authorDevClub member
I need to run PHPRunner screens inside my CMS (e107) and in order to use the latter's user name and group to define which tables can be displayed by PHPRunner I have the problem that user name & password are in one table and user group in another with the two linked on ID defining group. Can I use the master/detail setup in some way to achieve the security I require? I do realise that users are going to have to login a second time to use the PHPRunner generated screens but that is a small price to pay for proper security. |
|
![]() |
Alexey admin 2/1/2007 |
Hi, |
T
|
tparki authorDevClub member 2/1/2007 |
Hi, PHPRunner requires usergroups and usernames to be stored in the same table. I recommend join these two tables in a query, create a view for this query in your database using CREATE VIEW command. Then select this view as a Login table in PHPRunner. |
T
|
tparki authorDevClub member 2/1/2007 |
Thanks, Alexey. Your reply gives me a clear idea as to what I need to do. I just need to get out the SQL manual and do it. |
A
|
asimha 8/24/2007 |
Hi, PHPRunner requires usergroups and usernames to be stored in the same table. I recommend join these two tables in a query, create a view for this query in your database using CREATE VIEW command. Then select this view as a Login table in PHPRunner.
|