Open
Description
Looking at the documentation I would like to use RepresentationModelProcessor to:
Leverage cross cutting services like Spring Security to add, remove, or revise links based upon the current user’s context.
Could it be possible to provide a sample for such a case ?
I.e.: if I have a service.create() method secured with @PreAuthorize("isMember(#id)") I would like to use the same logic to add/hide link to representation accordingly.
if necessary I can provide a sample project
Thanks
Metadata
Metadata
Assignees
Labels
No labels