user
07/29/2025, 7:28 PM<sec:ifAnyGranted roles="ROLE_ADMIN">
<button>Admin Action</button>
</sec:ifAnyGranted>
I have this import at the top of the page, however it doesn't seem to work
<%@ taglib prefix="sec" uri="<http://grails.org/plugins/spring-security-core>" %>
I do have spring security in the dependencies in build.gradle and refreshed the build
I'd appreciate any help or guidance with that
My grails version is 6.2.3James Fredley
07/29/2025, 7:38 PMJames Fredley
07/29/2025, 7:44 PMuser
07/29/2025, 7:44 PM