Get Started with Redwood for Oracle Cloud HCM Begin Now
Hide Submit button based on Role
Summary
Hide Submit button based on RoleContent
Hello,
We need to hide Submit for Approval button for managers belonging to one role but show it for managers belonging to another role. Can you advise how this can be achieved?
We tried using personalization but we're getting some error. Is it feasible to use securityContext.userInrole here ?
This is the seeded EL expression available for the field :
#{backingBeanScope.planOverviewBean.submitEnabled && ((!backingBeanScope.planOverviewBean.submitted && !backingBeanScope.planOverviewBean.approved && !backingBeanScope.planOverviewBean.topLevelMgr))}
Thanks!
1