forbid users to import an exercise they do not have access to (previously a new one was created)
This commit is contained in:
5
app/errors/proforma/exercise_not_owned.rb
Normal file
5
app/errors/proforma/exercise_not_owned.rb
Normal file
@ -0,0 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Proforma
|
||||
class ExerciseNotOwned < StandardError; end
|
||||
end
|
Reference in New Issue
Block a user