You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your example, I see that In the middleware, to context is created and passed to the underlying handler method.
(In my desired solution, it needs to happen before that.)
Normally I would use middleware like this:
But let's say, I want to check in the middleware if the user has permissions to use the handler.
Something like this:
How can I achieve something like this?
The text was updated successfully, but these errors were encountered: