Hello,
We upgraded LSF from v9 to v10. We're having an issue where users can edit their own records. We don't want users to edit their own record, it is working on v9 but not in v10.
I've narrowed it down to the Security Class - Conditional Rule Access.
this line:
if((user.getCompany()==lztrim(form.COMPANY))&&(user.getEmployeeId()!=lztrim(form.EMPLOYEE))) 'ALL_ACCESS,' else 'NO_ACCESS,'
The above rule always default to false. I've tried different rule combinations and it has led me to believe that either user.getEmployeeId() or form.EMPLOYEE is returning 0 (or something else)
I want to know the value of user.getEmployeeId().
How do you usually debug this? is there a way to print to the log or a popup to the user?