Fix failing test in 8d6efcbfb559e377a8f21873b736390035bc44ed.
[arvados.git] / services / api / app / models / job.rb
index e3881ba6e1f4bfdfc492975eac82bcccaeaba1e4..d3c3b1d64091bf11ae420f4568c15bbe86479291 100644 (file)
@@ -70,6 +70,14 @@ class Job < ArvadosModel
     super + %w(output log)
   end
 
+  def skip_uuid_read_permission_check
+    super + %w(cancelled_by_client_uuid)
+  end
+
+  def skip_uuid_existence_check
+    super + %w(output log)
+  end
+
   def ensure_script_version_is_commit
     if self.is_locked_by_uuid and self.started_at
       # Apparently client has already decided to go for it. This is