We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be useful to add middleware per endpoint
The text was updated successfully, but these errors were encountered:
Could you give some use case example?
Sorry, something went wrong.
Well, it would be extremely useful and convenient for middleware supporting object-level permissions.
e.g.
having an endpoint for get a resource, I would like to determine that Read permissions are enough.
GET(":id", someHandler, ObjectPermissionMiddleware(Read))
but it has to require a Write permission to edit it
PUT(":id", someHandler, ObjectPermissionMiddleware(Write))
Do we have any progress on this? It's a possible fix for #32
No branches or pull requests
It would be useful to add middleware per endpoint
The text was updated successfully, but these errors were encountered: