This topic is locked

COMPLEX MULTI-LEVEL LOGIN

6/24/2007 14:36:04
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.
For example:
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;

...
How build this using PHPR ?
Tks again...

Sergey Kornilov admin 6/26/2007

I guess you need to wait for the next version of PHPRunner that supports having a separate OwnerID per table.