square / rails-auth

Modular resource-based authentication and authorization for Rails/Rack
Apache License 2.0
291 stars 23 forks source link

Rails::Auth.allowed_by #34

Closed tarcieri closed 8 years ago

tarcieri commented 8 years ago

Store what authorized the request in the Rack environment.

This involved making some changes to the way ACL#match works to return the matcher that matched the request instead of just true/false.