Add budget/investments#json_data method permissions

This commit is contained in:
María Checa
2018-03-09 17:45:27 +01:00
parent 064089926d
commit 4713d37346

View File

@@ -21,7 +21,7 @@ module Abilities
can [:search, :read], Annotation
can [:read], Budget
can [:read], Budget::Group
can [:read, :print], Budget::Investment
can [:read, :print, :json_data], Budget::Investment
can :read_results, Budget, phase: "finished"
can :new, DirectMessage
can [:read, :debate, :draft_publication, :allegations, :result_publication, :proposals], Legislation::Process, published: true