You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now

EL expression in Structure is returning 'True' even the syntax is for 'RoleNotIn'

Received Response
21
Views
1
Comments
edited Mar 22, 2024 8:21AM in Human Capital Management 1 comment

Hello everyone,

We want to remove specific actions in the My client groups for 2 roles, but the syntax #{!securityContext.userInRole['role1,role2']} is returning 'True' even the user have these 2 roles.

The result is when using #{!securityContext.userInRole['role1,role2']}, the action are showing for the 2 roles, and when using #{securityContext.userInRole['role1,role2']}, the actions are hidden. I think this not correct.

This is the role that we are using for this syntax:

Please help.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!