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
|
||||
elsif user.koelkast?
|
||||
can :manage, Order
|
||||
can :quickpay, User
|
||||
else
|
||||
can :read, :all
|
||||
can :manage, User, id: user.id
|
||||
|
|
Loading…
Reference in a new issue