X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6fb70ef1e1398c30137580c8417e98693dfbfc1d..9aff8a3624b463d3fd4d9302c4d41c7558df4a13:/apps/workbench/config/load_config.rb diff --git a/apps/workbench/config/load_config.rb b/apps/workbench/config/load_config.rb index 95f6edc952..d8d4dff567 100644 --- a/apps/workbench/config/load_config.rb +++ b/apps/workbench/config/load_config.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + # This file must be loaded _after_ secret_token.rb if secret_token is # defined there instead of in config/application.yml. @@ -42,14 +46,26 @@ EOS cfg.send "#{k}=", v end end - if !nils.empty? + if !nils.empty? and not ::Rails.groups.include?('assets') raise <