Just when you think you are "too old for this shit" (ref. Lethal Weapon), there comes an opportunity that gets you back in action. In my case, it was Rails Rumble!! When I told my folks at home - "I'm going to be a 19 year old again and do a 48 hour coding stint" … Continue reading Ramblings on RailsRumble
Month: October 2012
How To Manage Roles & Permissions Dynamically Using Cancan
Most of us already use cancan for authorization, where we define the Role Based Access (RBAC) to various models in the Ability class. However, any changes to these abilities, requires code changes to the Ability class and restarting the application for the changes to take effect. What if we could assign these permissions dynamically? That … Continue reading How To Manage Roles & Permissions Dynamically Using Cancan
