EL to restrict visibility
We are trying to create an EL which restricts the visibility of some sections in the Directory. For example, we want the Current Salary section under the Employee Summary to be visible only for the HR user and not for the Line Manager. So, if a Line Manager accesses the Employee Summary will not see the Current Salary.
However, if a user has both the Line Manager and HR roles we would like the user to have access to the Current Salary section.
Is there a way?
Version (include the version you are using, if applicable):