Merge branch '5073-docker-limitations' closes #5073
[arvados.git] / apps / workbench / app / controllers / jobs_controller.rb
index 08fb94d2f085d4d7eb777f81cea43d84f9f2dbcf..7edf8cc30d542a69489589b52b3c05d4abf0e270 100644 (file)
@@ -1,4 +1,9 @@
 class JobsController < ApplicationController
+  skip_around_filter :require_thread_api_token, if: proc { |ctrl|
+    Rails.configuration.anonymous_user_token and
+    'show' == ctrl.action_name
+  }
+
   include JobsHelper
 
   def generate_provenance(jobs)