nathanl / authority

*CURRENTLY UNMAINTAINED*. Authority helps you authorize actions in your Rails app. It's ORM-neutral and has very little fancy syntax; just group your models under one or more Authorizer classes and write plain Ruby methods on them.
MIT License
1.21k stars 67 forks source link

Allow custom opts in `authorize_actions_for` #113

Closed christhekeele closed 8 years ago

christhekeele commented 8 years ago

See discussion here in #84.

We should be able to pass custom opts to authorizers in the controller-wide authorize_actions_for. I propose doing so by passing an array to an :opts parameter.