Polls in the dashboard
A reduced version of polls has been added to the dashboard
This commit is contained in:
@@ -22,6 +22,9 @@ module Abilities
|
||||
can :dashboard, Proposal do |proposal|
|
||||
proposal.author.id == user.id
|
||||
end
|
||||
can :manage_polls, Proposal do |proposal|
|
||||
proposal.author.id == user.id
|
||||
end
|
||||
|
||||
can [:retire_form, :retire], Proposal, author_id: user.id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user