Grails check role access for specific controller action
问题 I need to display/hide action buttons depending if the user can access (by role definition) the specific controller/action. I'm using Spring Security plugin. My goal is to used the annotation @Secured("ROLE_...") for every method of each of my controller and I'm looking for a way to check, before calling the action, if the user has access to this specific action. I'm guessing there is way to check this because the annotation brings the information but I cannot find any solution. In this