EL Expression to restrict Attachment option for Employee in Talent Profile
Content
Hi All,
We need to restrict attachment option of employee (self) in Talent profile. It can only be done by HR roles and Line Manager will be able to see for his Team. Self Talent profile attachment is not required.
We have tried the EL:
1> #{securityContext.userInRole['HR_ROLE1'] or securityContext.userInRole['HR_ROLE2'] or securityContext.userInRole['HR_ROLE3'] or securityContext.userInRole['HR_ROLE4']}
But the issue is the HR is also able to see his own Talent profile attachment, which is not intended. Similar way we can't put the employee role as HR is also an employee
0