So i have an element that i want to be accessible by both ADMIN and MODERATOR roles but not by regular users. I am using :
<a class="dropdown-item" href="/addFishToWater"
sec:authorize="hasRole('ROLE_ADMIN')">Admin</a>
For single role check it works properly but is there a way to check for any of the roles ADMIN and MODERATOR.