FIX: Users should be able to delete their own queued posts (#10265)

FIX: Users should be able to delete their own queued posts (#10265)

diff --git a/app/controllers/reviewables_controller.rb b/app/controllers/reviewables_controller.rb
index c0312da..cdfe645 100644
--- a/app/controllers/reviewables_controller.rb
+++ b/app/controllers/reviewables_controller.rb
@@ -6,7 +6,7 @@ class ReviewablesController < ApplicationController
   PER_PAGE = 10
 
   before_action :version_required, only: [:update, :perform]
-  before_action :ensure_can_see
+  before_action :ensure_can_see, except: [:destroy]
 
   def index
     offset = params[:offset].to_i
diff --git a/spec/requests/reviewables_controller_spec.rb b/spec/requests/reviewables_controller_spec.rb
index c14b0d8..b836459 100644
--- a/spec/requests/reviewables_controller_spec.rb
+++ b/spec/requests/reviewables_controller_spec.rb
@@ -590,7 +590,7 @@ describe ReviewablesController do
     end
 
     context "#destroy" do
-      fab!(:user) { Fabricate(:admin) }
+      fab!(:user) { Fabricate(:user) }
 
       before do
         sign_in(user)

GitHub sha: 98eb7a3f

This commit appears in #10265 which was approved by eviltrout. It was merged by romanrizzi.