You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

EL Expression to restrict Attachment option for Employee in Talent Profile

Received Response
60
Views
3
Comments
edited Nov 7, 2018 9:50AM in Career and Succession 3 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!