X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5f708f621d43585e59787d86d4e3565e09f9c6b8..e513251f7b0f6acdc0c0d6df5792c18358030221:/apps/workbench/app/controllers/actions_controller.rb diff --git a/apps/workbench/app/controllers/actions_controller.rb b/apps/workbench/app/controllers/actions_controller.rb index 2a0f74762b..58b8cdc54f 100644 --- a/apps/workbench/app/controllers/actions_controller.rb +++ b/apps/workbench/app/controllers/actions_controller.rb @@ -2,6 +2,8 @@ require "arvados/collection" class ActionsController < ApplicationController + # Skip require_thread_api_token if this is a show action + # for an object uuid that supports anonymous access. skip_around_filter :require_thread_api_token, if: proc { |ctrl| Rails.configuration.anonymous_user_token and 'show' == ctrl.action_name and