Unable to edit an existing delivered EL Expression since Redwood
Summary:
I have been hiding tiles based on HCM security roles with no issues.
No issues if we change the Visibility from Yes to EL Expression. That still works.
However, if we need to add the role-based "securityContext" to an existing EL Expression, it no longer works as it did previously.
Example:
We need to hide this: Document Records > Document Delivery Preferences (we cannot remove the privilege that makes this visible)
There is already an EL expression in place. So, I added the "securityContext" at the end, like I normally would.
#{Profile.values.HRC_ELASTIC_SEARCH_ENABLED eq 'Y' and Profile.values.ORA_HCM_VBCS_PWA_ENABLED eq 'Y' and Profile.values.ORA_PER_DOCUMENT_DELIVERY_PREFERENCES_REDWOOD_ENABLED eq 'Y' or (!(securityContext.userInRole['GNB_HCM_INQUIRY_-_ASDW_001_DATA']))}