Changed permissions to vote Legislation Proposals and Answers

This commit is contained in:
María Checa
2017-10-25 16:43:25 +02:00
parent 1b4756e073
commit b556617a80
2 changed files with 1 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ module Abilities
can :vote, Legislation::Proposal
can :vote_featured, Legislation::Proposal
can :create, Legislation::Answer
can :create, Budget::Investment, budget: { phase: "accepting" }
can :suggest, Budget::Investment, budget: { phase: "accepting" }

View File

@@ -27,7 +27,6 @@ module Abilities
can [:read, :debate, :draft_publication, :allegations, :result_publication, :proposals], Legislation::Process, published: true
can [:read, :changes, :go_to_version], Legislation::DraftVersion
can [:read], Legislation::Question
can [:create], Legislation::Answer
can [:read, :map, :share], Legislation::Proposal
can [:search, :comments, :read, :create, :new_comment], Legislation::Annotation
end