Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
Providing roles in Page Composer
Summary:
Hi Experts!
I had a requirement to personalize a page depending upon roles. So the requirement is to hide a certain region if the user has ALL the mentioned roles or even if he/she has ANY ONE OF THEM. I tried the below EL expression for that:
#{securityContext.userInAllRoles['Role A,ROLE B']}
The issue with this formula is it only hides the region if the user has the two roles mentioned. The expected case is to hide the 'region A' if the user has both role A and B or if the user only possess any of them. In either case the region shouldn't be visible. Any idea on how to achieve it??
Tagged:
0