Hi,
How can I enable or disable CRUD features in a grid based on a php session value? I have a typical user authentication system that allows, for example, users with admin privileges (user level = 1) to perform all crud operations on tables, users with user level 2 can only add and edit existing records, but can't delete records.
PHP sessions containing the user level are created on login, just like this site probably. How can I setup grids so that only certain user levels can delete records? Is there already user authentication built into the datasource or other UI widgets?
If not, I need to be able to enable or disable each CRUD operation type based on the value of a PHP session.....any ideas?
Thanks,
Tony
How can I enable or disable CRUD features in a grid based on a php session value? I have a typical user authentication system that allows, for example, users with admin privileges (user level = 1) to perform all crud operations on tables, users with user level 2 can only add and edit existing records, but can't delete records.
PHP sessions containing the user level are created on login, just like this site probably. How can I setup grids so that only certain user levels can delete records? Is there already user authentication built into the datasource or other UI widgets?
If not, I need to be able to enable or disable each CRUD operation type based on the value of a PHP session.....any ideas?
Thanks,
Tony