Modifying Payroll EL Expression to limit by Security Role
Summary:
Modifying Payroll EL Expression to limit by Security Role
Content (please ensure you mask any confidential information):
I am wanting to modify the default EL Expression below to also include limiting it by a distinct security role.
Default Expression:
#{((Profile.values.PAY_PAYROLL_ADMIN_RESPONSIVE_ENABLED ne 'Y') or (Profile.values.PAY_PAYROLL_ADMIN_RESPONSIVE_ENABLED eq null))}
Modified Expression: (This is where I have something wrong)
#{(((Profile.values.PAY_PAYROLL_ADMIN_RESPONSIVE_ENABLEDne'Y') or (Profile.values.PAY_PAYROLL_ADMIN_RESPONSIVE_ENABLED eq null)) and (securityContext.userInRole['CN_PAYROLL_ADMINISTRATOR_VIEW_ALL_DATA']))}
I am getting an error. Are we unable to restrict Redwood options by security role?