From e32890977964e1c14169962edeba4f642e4e1091 Mon Sep 17 00:00:00 2001 From: radhika Date: Tue, 4 Aug 2015 10:41:44 -0400 Subject: [PATCH] 6476: add comment --- apps/workbench/app/controllers/actions_controller.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2