This topic is locked

COMPLEX MULTI-LEVEL LOGIN

6/21/2007 20:42:51
PHPRunner General questions
J
JColtro author

My site was 3 (or more) levels: in the botton level, the login 'A Doe' must view the records of all the employees of the Sector A of Company A and the login 'B Doe' must view the records of all the emplyees of the Sector B of Company A; in the intermediate level, the login 'C Doe' must view the records of all employees of Company A...; in the top level, the login 'D Doe' must view all records of all companies.
How build this using PHPR ?

M
michaelmac 6/22/2007

My site was 3 (or more) levels: in the botton level, the login 'A Doe' must view the records of all the employees of the Sector A of Company A and the login 'B Doe' must view the records of all the emplyees of the Sector B of Company A; in the intermediate level, the login 'C Doe' must view the records of all employees of Company A...; in the top level, the login 'D Doe' must view all records of all companies.

How build this using PHPR ?


Hello
You need to get your inventory straight first. Then I would say say you design two or more projects in PHPR to accomplish this. I have four levels of access with mine and it works great. You switch to the different /subdirectory your GroupID dictates.
Mike

J
JColtro author 6/22/2007

Tks, Mike:
Table fields:
company_id

department_id

sub-department_id

sub-sub-department_id

...
The top level (CEO) login must access ALL table records;

The level 2 login must access only records of one COMPANY_ID;

The level 3 login must access only records of one DEPARTMENT_ID;

The level 4 login must access only records of one SUB-DEPARTMENT_ID;

...
Tks again...