Can we hide fields via personalisation based on presence of a Job/Data role
Summary:
Is it possible to use an EL Expression to control/restrict the visibility of certain fields within the Personal Details Demographic info page based on the presence of a Job/Data role?
Content (required):
The client has a GDPR based requirement to prevent CWKs from being able to see/add data to certain fields within the Demographic Info page. There is no ability to create a Design Studio Rule base don Worker Type for the Personal Details page, so our only option is a Page Composer personalisation. We have attempted to use the following expression:
#{!securityContext.userInRole['MyHR_CONTINGENT_WORKER_****,MyHR_CONTINGENT_WORKER_****']}
Tagged:
0