Skip to content
bbenezech edited this page Feb 6, 2012 · 2 revisions

Example authorizations for cancan:

  can :manage, :all
  # includes
  can :read, :all
  # includes
  can :read, Model
  # includes
  can :show, Model
  # includes
  can :show, Model, { conditions }

More here

Clone this wiki locally