Redwood Document Records - manage visibility of Add Button based on roles
Summary:
Hi all,
With the 25B update, the Document Records page now includes a property that allows us to either hide the Add button for everyone or keep it visible for all users. According to Oracle documentation, we can also use an expression to selectively show or hide the Add button based on user roles.
We successfully used the following expression to hide the add button for two roles,
[[ $application.user.roles.includes( 'ROLE1' , 'ROLE2' ) ? 'N' : 'Y' ]]
but by adding this EL, the roles that previously saw the button no longer saw it. Therefore, we wanted to ask if it's possible to build an EL that shows the add button to some roles and hides it from others.