X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/908261de15c98553a4200f01aff1f26ef57c8fb8..bcb16d1825fd2e3105a51a2a2f9a119d71f33c8d:/apps/workbench/app/controllers/containers_controller.rb diff --git a/apps/workbench/app/controllers/containers_controller.rb b/apps/workbench/app/controllers/containers_controller.rb index 57c27003c1..4b5606778f 100644 --- a/apps/workbench/app/controllers/containers_controller.rb +++ b/apps/workbench/app/controllers/containers_controller.rb @@ -1,2 +1,14 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class ContainersController < ApplicationController + skip_around_action :require_thread_api_token, if: proc { |ctrl| + !Rails.configuration.Users.AnonymousUserToken.empty? and + 'show' == ctrl.action_name + } + + def show_pane_list + %w(Status Log Advanced) + end end