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

I want to exclude all our custom roles which are having Prefix "SCC" with an EL Expression

Received Response
31
Views
5
Comments

Summary:

Hi Team,

We have a requirement that few quick actions of Learning item should not be visible to all our present and future custom roles.

But those quick links should be visible in our seeded roles.

So, I wanted to use an EL Expression for this to exclude all our custom roles which are having prefix "SCC".

But I'm not getting how to write.

To exclude one role, I generally use this EL Expression.

#{!securityContext.userInRole['Role Code']}

But how can I write an EL Expression to exclude all the roles with Prefix "SCC"

Thanks & Regards,

Sri Vidya Allada

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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