This topic is locked
[SOLVED]

 Advanced security settings with two link fields

11/8/2010 6:31:06 PM
PHPRunner General questions
A
almeida author

Hi,
Is there a way to use two link fields in the advanced security settings?

For example user 1 can see and edit records of one departament/company.

User 2, with belongs to the same departament, can see and edit this records but

neither User 2 nor user 1 can see or edit the records of another departament/company.
Tks for help.

Almeida

Sergey Kornilov admin 11/9/2010

PHPRunner won't be able to support this security model directly.
You can implement this using dynamic SQL queries.
See an example at http://xlinesoft.com/phprunner/docs/modify_sql_query_on_the_fly.htm