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

securityContext.userInRole returns false despite user having the role

Via a Structure sandbox, we created a new page entry that will take us to a BI dashboard. We wanted this icon/dashboard to appear only for one particular custom role, so we used an EL expression like this:

#{securityContext.userInRole['XX_TRAINING']}

I can confirm that the this is correct role name and there are no spaces. The role is assigned to few users and when I logged in as that user, I don't see the newly created icon at all.

Our custom role category is 'HCM - Data Roles', if it matters. We have also run Regenerate Data Security Grants process, LDAP process & Import User and Role Application security processes after creating the role & assigning it to users.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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