spring-native
spring-native copied to clipboard
Spring security method missing hint
MethodSecurityExpressionRoot typehint DELCLARED_METHODS and DECLARED_FIELDS are missing to expose properties fieldObject and returnObject in spel expression like
@PostFilter("hasPermission(filterObject.id, 'POJO', read)")
List<POJO> listAll();
@eleftherias Do you think those should be configured out of the box?
@sdeleuze Yes, I do think they should be configured out of the box.
I can update the GlobalMethodSecurityHints and add an example of this issue to one of the samples.