place extra ability
This commit is contained in:
parent
d3f32a89aa
commit
397dd169a6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue