Wafris / wafris-rb

Wafris Client for Rails and Rack applications
https://wafris.org
Other
101 stars 9 forks source link

Set `wafris` middleware as the second position for Rails > 6. #73

Closed ruyrocha closed 7 months ago

ruyrocha commented 8 months ago

The main reason is to load Wafris::Middleware after HostAuthorization.

rmcastil commented 8 months ago

@ruyrocha I'm not familiar with the necessity for this. We haven't had anyone bringing up issues behind the middleware positioning. Can you describe why this is necessary?

ruyrocha commented 8 months ago

@rmcastil it's on the direction to load the middleware earlier and then Hub will talk to Redis and allow or deny the request.

rmcastil commented 7 months ago

Closing this as it's not critical to the future of core. Plus we've been discussing a different architecture approach internally.