This module attempts to create permissions conventions for your ActiveRecord models. It supports english-based methods that let you restrict access per-model, per-record, per-column, per-action, and per-user. All at once.
You may define instance methods in the following formats:
def #{column}_authorized_for_#{action}? def #{column}_authorized? def authorized_for_#{action}?
Your methods should allow for the following special cases:
* cron scripts * guest users (or nil current_user objects)