Merge branch 'master' into 1971-show-image-thumbnails
[arvados.git] / services / api / app / models / job.rb
index 4af3fa84e94194b555c86cb56476c069bfbb59f7..0b2247bc21d99196b839f58a0dca37a2d10c284f 100644 (file)
@@ -27,6 +27,7 @@ class Job < ArvadosModel
     t.add :started_at
     t.add :finished_at
     t.add :output
+    t.add :output_is_persistent
     t.add :success
     t.add :running
     t.add :is_locked_by_uuid
@@ -69,6 +70,10 @@ class Job < ArvadosModel
     super + %w(output log)
   end
 
+  def skip_uuid_read_permission_check
+    super + %w(cancelled_by_client_uuid)
+  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