EL Expression not Working with Custom Role
Summary:
EL Expression not Working with Custom Role
Content (please ensure you mask any confidential information):
We wanted to make the "Worker Type" field as editable for the users who are associated to the recruiter roles. For all others, this field should be displayed as read-only.
Tried with the following EL expression, which is not working as expected. Here '****_IRC_RECRUITER_JOB' is a custom recruiter role.
#{!securityContext.userInRole['****_IRC_RECRUITER_JOB']}
Version (include the version you are using, if applicable):
24A
Code Snippet (add any code snippets that support your topic, if applicable):