This topic is locked

Filter data based on User login

1/18/2006 6:02:31 PM
PHPRunner General questions
P
Pontusr author

Admin,
I have used the feature to filter data based on user login.. Users can see and edit their own data only. Works great...
But know I like to allow one user to see "certain" other users data.
For example..
I developed a Sales portal that Sales reps could log in a check and edit their own sales data..
I would like a login like for below "IND" that shows Sales Rep 100 & 101 data only
RepId Territiry

100 IND

101 IND

110 CON

120 CON
Ideally I would like one user table
and one permission table that selects access to what sales rep could access.. That a admin user could manag when creating users.
How do I best proceed...
Pontus
Pontus

admin 1/19/2006

Hi,
PHPRunner uses SecuritySQLfunction defined in include/..._functions.phpfile to filter records.

So you can modify it to fit your need.