cancan/spec
Sokolov Yura 7d7d249182 passing throw matching rules with not matching conditions
Main goal is to allow:

cannot :manage, :all
can :read, :all
can :manage, User, :id=>user.id
can :manage, User, :manager_id=>user.id

Signed-off-by: Sokolov Yura <funny.falcon@gmail.com>
2010-05-16 22:13:02 +04:00
..
cancan passing throw matching rules with not matching conditions 2010-05-16 22:13:02 +04:00
spec_helper.rb add be_able_to matcher 2010-04-16 02:46:03 +08:00