Skip to content

Conversation

@pchondzinski
Copy link

Using given reader the generated API documentation will add information about required permissions. Like on the picture below.
api with premissions info

The implementation does not have any permission extraction as the value of @PreAuthorize may contains also some custom expressions. E.g. @PreAuthorize("hasAuthority('FOO_BLA_READER') or evaluatesToTrue(#form.canReadFooBla)")
In such case generated documentation presents following:
api with premissions info 2
Which still seems to be some hint of what is required to be successfully authorized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant