is there any way to use hasRole with multiple roles, I would like to allow visibility on a button for multiple roles, but I get errors for most of the ways I have tried to do it.
use the logical OR in the expression ||
(double pipe)
hasRole(x) || hasRole (y)
1 Like
hasRole("Role1", "bob", "default") || hasRole("Role2", "bob", "default")
Wow, fast responses, thank you!