X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..75967562d779337c0920841a0a66d130b4ba51a9:/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