Allow admins to access Legislation::Proposal #show and Legislation::Process #proposals

This commit is contained in:
María Checa
2017-10-28 10:36:29 +02:00
committed by Javi Martín
parent 127eef3856
commit 6d5e1a075e

View File

@@ -14,6 +14,10 @@ module Abilities
can :restore, Proposal
cannot :restore, Proposal, hidden_at: nil
can :create, Legislation::Proposal
can :show, Legislation::Proposal
can :proposals, ::Legislation::Process
can :restore, Legislation::Proposal
cannot :restore, Legislation::Proposal, hidden_at: nil