Add budget stats permissions for normal users and admins

This commit is contained in:
María Checa
2018-07-05 18:40:17 +02:00
committed by Javi Martín
parent 70e108d593
commit c2457e36a5
3 changed files with 39 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ module Abilities
can [:hide, :update, :toggle_selection], Budget::Investment
can [:valuate, :comment_valuation], Budget::Investment
can :create, Budget::ValuatorAssignment
can :read_stats, Budget, phase: "reviewing_ballots"
can [:search, :edit, :update, :create, :index, :destroy], Banner