diff --git a/Gemfile.lock b/Gemfile.lock index 1df90c1b7671..8f684cf1e20f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -833,7 +833,7 @@ GEM activesupport wisper (2.0.1) wisper-rspec (1.1.0) - wkhtmltopdf-binary (0.12.6.5) + wkhtmltopdf-binary (0.12.6.6) xpath (3.2.0) nokogiri (~> 1.8) zeitwerk (2.5.1) diff --git a/decidim-assemblies/app/permissions/decidim/assemblies/permissions.rb b/decidim-assemblies/app/permissions/decidim/assemblies/permissions.rb index 12ab4a536f9f..24e6d9a4efee 100644 --- a/decidim-assemblies/app/permissions/decidim/assemblies/permissions.rb +++ b/decidim-assemblies/app/permissions/decidim/assemblies/permissions.rb @@ -17,7 +17,6 @@ def permissions public_list_assemblies_action? public_read_assembly_action? public_list_members_action? - public_report_content_action? return permission_action end @@ -125,13 +124,6 @@ def public_list_members_action? allow! end - def public_report_content_action? - return unless permission_action.action == :create && - permission_action.subject == :moderation - - allow! - end - # All users with a relation to a assembly and organization admins can enter # the space area. The sapce area is considered to be the assemblies zone, # not the assembly groups one. diff --git a/decidim-assemblies/spec/permissions/decidim/assemblies/permissions_spec.rb b/decidim-assemblies/spec/permissions/decidim/assemblies/permissions_spec.rb index d763feb3aefd..f14464a86f1b 100644 --- a/decidim-assemblies/spec/permissions/decidim/assemblies/permissions_spec.rb +++ b/decidim-assemblies/spec/permissions/decidim/assemblies/permissions_spec.rb @@ -126,14 +126,6 @@ it { is_expected.to eq true } end - context "when reporting a resource" do - let(:action) do - { scope: :public, action: :create, subject: :moderation } - end - - it { is_expected.to eq true } - end - context "when any other action" do let(:action) do { scope: :public, action: :foo, subject: :bar } diff --git a/decidim-blogs/app/views/decidim/blogs/posts/_posts.html.erb b/decidim-blogs/app/views/decidim/blogs/posts/_posts.html.erb index 68d7f7178608..fc0bb4625051 100644 --- a/decidim-blogs/app/views/decidim/blogs/posts/_posts.html.erb +++ b/decidim-blogs/app/views/decidim/blogs/posts/_posts.html.erb @@ -1,6 +1,9 @@