Changed permissions to vote Legislation Proposals and Answers
This commit is contained in:
@@ -67,6 +67,7 @@ module Abilities
|
|||||||
|
|
||||||
can :vote, Legislation::Proposal
|
can :vote, Legislation::Proposal
|
||||||
can :vote_featured, Legislation::Proposal
|
can :vote_featured, Legislation::Proposal
|
||||||
|
can :create, Legislation::Answer
|
||||||
|
|
||||||
can :create, Budget::Investment, budget: { phase: "accepting" }
|
can :create, Budget::Investment, budget: { phase: "accepting" }
|
||||||
can :suggest, Budget::Investment, budget: { phase: "accepting" }
|
can :suggest, Budget::Investment, budget: { phase: "accepting" }
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ module Abilities
|
|||||||
can [:read, :debate, :draft_publication, :allegations, :result_publication, :proposals], Legislation::Process, published: true
|
can [:read, :debate, :draft_publication, :allegations, :result_publication, :proposals], Legislation::Process, published: true
|
||||||
can [:read, :changes, :go_to_version], Legislation::DraftVersion
|
can [:read, :changes, :go_to_version], Legislation::DraftVersion
|
||||||
can [:read], Legislation::Question
|
can [:read], Legislation::Question
|
||||||
can [:create], Legislation::Answer
|
|
||||||
can [:read, :map, :share], Legislation::Proposal
|
can [:read, :map, :share], Legislation::Proposal
|
||||||
can [:search, :comments, :read, :create, :new_comment], Legislation::Annotation
|
can [:search, :comments, :read, :create, :new_comment], Legislation::Annotation
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user