How to hide a content section for Self when logged in with a View All Role.
Summary: When a user logs in and checks for a Content section under Skills & Qualifications it should not be visible if he is looking for himself when the person has View All Role.
We have a profile Content section ‘Manager Profile Assessment’.
This content section is secured by 3 roles:
When a regular Employee logs in, that employee does not see this section under Skills and Qualifications. [Working as expected]
Whereas when HR logs in (Someone with HR Business Partner role) that person can see the section for employees to whom the data role has access. E.g., if the user has the role HR Business Partner Corp, the user can see everyone from Corporate BU whereas cannot see this section for self. [Working as expected]