app/permissions/decidim/proposals/admin/permissions.rb in decidim-proposals-0.15.2 vs app/permissions/decidim/proposals/admin/permissions.rb in decidim-proposals-0.16.0
- old
+ new
@@ -59,10 +59,10 @@
component_settings.try(:official_proposals_enabled)
end
def admin_edition_is_available?
return unless proposal
- proposal.official? && proposal.votes.empty?
+ (proposal.official? || proposal.official_meeting?) && proposal.votes.empty?
end
def admin_proposal_answering_is_enabled?
current_settings.try(:proposal_answering_enabled) &&
component_settings.try(:proposal_answering_enabled)