X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9b98829c565a2aa487d21ecd7f9429c23d0cec20..f309b872cc064141d9fbf43a15067998603e2204:/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 <