This topic is locked
[SOLVED]

 Security question

1/16/2019 8:05:11 AM
PHPRunner General questions
Tandy author

Will this code:$_SESSION["UserType"] = $data["UserType"];
work with Dynamic permissions?

In my user account database I do not have UserType field.
How would I get the code to the Dynamic permissions user type (admin, user, guest)?
Thank you for your help...
James Tandy

admin 1/16/2019

This code mimics Advanced Security option "Users can see and edit their own data only". It is not related in any way to Dynamic permissions.
Dynamic permissions restrict access to certain tables and actions like Add, Edit or Delete. Advanced security restricts access to certain records inside a table. These are two different concepts.

Tandy author 1/16/2019

So it will not help with what I have been working on..

Ok..Thank YouJames Tandy