place extra ability

This commit is contained in:
benji 2015-09-18 15:46:11 +02:00
parent d3f32a89aa
commit 397dd169a6

View file

@ -8,6 +8,7 @@ class Ability
can :manage, :all can :manage, :all
elsif user.koelkast? elsif user.koelkast?
can :manage, Order can :manage, Order
can :quickpay, User
else else
can :read, :all can :read, :all
can :manage, User, id: user.id can :manage, User, id: user.id