Hi I have replaced the default permission evaluator but now it just makes the hasAuthority not working (I am using the same example as the ones on google but it doesn't work with me)
Property or field 'hasAuthority' cannot be found on object of type 'org.springframework.security.access.expression.method.MethodSecurityExpressionRoot' - maybe not public or not valid?
Property or field 'hasAuthority' cannot be found on object of type 'org.springframework.security.access.expression.method.MethodSecurityExpressionRoot' - maybe not public or not valid?