I have a situation that I need to restrict viewing of specific records based on a user group from the security module. I used adz1111 advice (Thread - Security Module Application Access Validation) and captured the user group. There is also a field in the table that will determine if the record should not be viewed by all (publish = 0) or if it can be seen by all (publish = 1). I have added the following to the SQL Select Statement of the Grid Application:
WHERE publish >= IF((’[ugroup]’ != ‘Administrator’),1,0)
While this does work is this the best way to handle this type of requirement?