Metoda HASAUTHORity nie działa z tymeleaf

 @EnableGlobalMethodSecurity(prePostEnabled = true) in Security configuration.
Vijay Patwal