We are implementing LSF9 security with the goal to have one user id for each employee. If an employee has application access then through portal they will have a search box. We are attempting to limit access to HR/PR and remove drill around access. I have gotten this to work with the exception of the Wage Analysis drill around. I have placed conditional security on the Employee table as a whole and have deny all access to all the salary fields and the Wage Anaylsis still appears. Is it possible to block just the salary fields that appear on the Wage Analysis drill around? I know that I can modify the HR.or but we do have employees in HR that need to see the Wage Analysis drill around.
Any assistance is grealy appreciated.
Elizabeth Ardito
Middlesex Health System
It shows on the Wage Analysis the Monthly Wage and Pay Period Wage for any employee who you select or enter in the employee box of the form for drill around.
Even though I have a condition on the EMPLOYEE table, it still lets me do the drop down to select employees or if I know an employee number, I can type it in the box. Once I do this, it will give me a the employee's name along with a security violation on the form but will still allow me to do drill around.
This is the conditional code I have on the EMPLOYEE table:
if(isElementGrpAccessible('COMPEMP','I','HR',table.COMPANY,table.EMPLOYEE)) 'ALL_ACCESS,' else 'NO_ACCESS,'
I am not sure if that is the proper way to limit the access to the table. For the most part, all the other tables that I have the same type of condition on, you cannot see the information within drill around.
Thanks!
I already have the same condition on the PRRATEHIST table. That is why this is so frustrating.
Where is this wage analysis? What is the form number?
My condition is already on the EMPLOYEE table but I will try your suggestion and see if that makes a difference.
Okay - I am new to all this coding and am attempting to place the following in the edit box:
table.COMPANY==user.getCompany()&& table.EMPLOYEE==user.getEmployee()
When I attempt to verify expression - I am getting rule evaluation: Function user.getEmployee doesn't exist in this scope. Am I mssing something?
try EmployeeId
Sorry, it should be user.getEmployeeId()
That conditional coding didn't make a difference at all.
Any other suggestions?
I already have all those fields in the EMPLOYEE table sent to deny all access. I changed the BIWEEKLY-RATE and MONTHLY-RATE to this condition but with no access on either side of the if statement isElementGrpAccessible('COMPEMP','I','HR',table.COMPANY,table.EMPLOYEE)
still didn't work.
I even did an IOS cache refresh.
I was wondering, since those fields are derived fields, could that be the reason why I cannot lock them down?
I just figured out the issue. We used the ESS template from Lawson which had a Role Detail of PhoneBook attached with had wide open security to the EMPLOYEE table. Once I removed that, it locked down the file.
Thanks for all your help.
Well now, how are they going to figure out who to call when they need Lawson support??