jcoglan-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2009-Jan-03 20:35 UTC
[ANN] Consent: a firewall DSL for ActionController
Hey all, In response to some ideas from a friend, I''ve hacked up Consent, a plugin that provides pre-filtering of incoming requests using a concise DSL: http://github.com/jcoglan/consent It lets you specify rules that tell your app whether to accept an incoming request, redirect or render a 403. If the request is rejected, it never hits your controllers; Consent factors all your access control logic into a single file that acts as an intermediary between your routes and your controllers. I''ve only been working on it a couple of afternoons but it''s reasonably tested and documented to the point where it might be useful to others and open to feedback. Let me know if you try it out, and if any of it seems in need of improvement. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---