X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3e271eb8bc19f67465a33a69dc66a27021301fae..06d6b29b121b80cb975e5d9d29a9a6f9b3763c47:/apps/workbench/app/controllers/application_controller.rb diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb index db00be390a..db3d43040c 100644 --- a/apps/workbench/app/controllers/application_controller.rb +++ b/apps/workbench/app/controllers/application_controller.rb @@ -707,6 +707,7 @@ class ApplicationController < ActionController::Base @@notification_tests = [] @@notification_tests.push lambda { |controller, current_user| + return nil if Rails.configuration.shell_in_a_box_url AuthorizedKey.limit(1).where(authorized_user_uuid: current_user.uuid).each do return nil end