add authorization checks
This commit is contained in:
@@ -5,6 +5,7 @@ class SubmissionsResendEmailController < ApplicationController
|
||||
|
||||
before_action do
|
||||
authorize!(:manage, :resend_all)
|
||||
authorize!(:update, @submission)
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
Reference in New Issue
Block a user