ryanb/cancan — Issue #495: load_and_authorize_resource
Author: bahlmann
Created: 2011-10-21 20:12:21+00:00
State: open

I'm wondering if there is a way to use the above "load_and_authorize_resource" without having to sprinkle it across the controllers being used. So, to use the cancan across a whole app, one could simply place "load_and_authorize_resource" into the sessions or application controller and call it a day.

I like the idea of Ability being the one stop shop for all access and feature control for an entire application. Any suggestions on how to do this would be most helpful.