We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

How to avoid conflict working with EL Expressions

Received Response
1
Views
2
Comments

Hello Everyone,

we have a requirement where the workforce structure related quick actions should not be visible for payroll manager and Line Manager role but this tab should be visible for HR spec roles.

Most of the refinement is already done using privileges but when something can't be hidden using privileges, we use EL expressions to cater the requirement. In our case we are using the below EL exp which returns false value:

#{!securityContext.userInRole['LINE_MANAGER,PAY_PAYROLL_MANAGER_JOB']}

The above works fine for payroll manager and Line Manager role by not providing access to quick actions but how can we include access to same quick action/tab for HR spec role in the above EL or pls suggest if there is a different EL expression for that ?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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