Enable 'destroy' action for Valuator on controller

This commit is contained in:
Angel Perez
2017-10-26 16:12:03 -04:00
committed by Angel Perez
parent 4e086de493
commit db86cc5216
3 changed files with 7 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ module Abilities
can [:search, :create, :index, :destroy], ::Administrator
can [:search, :create, :index, :destroy], ::Moderator
can [:search, :create, :index, :summary], ::Valuator
can [:search, :create, :index, :destroy, :summary], ::Valuator
can [:search, :create, :index, :destroy], ::Manager
can [:search, :index], ::User