app/permissions/decidim/budgets/admin/permissions.rb in decidim-budgets-0.23.6 vs app/permissions/decidim/budgets/admin/permissions.rb in decidim-budgets-0.24.0.rc1
- old
+ new
@@ -8,10 +8,10 @@
return permission_action if permission_action.scope != :admin
case permission_action.subject
when :budget
case permission_action.action
- when :create, :read
+ when :create, :read, :export
allow!
when :update
toggle_allow(budget)
when :delete, :publish, :unpublish
toggle_allow(budget && budget.projects.empty?)