projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '15422-collections-prov-doc' refs #15422
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
work_units_controller.rb
diff --git
a/apps/workbench/app/controllers/work_units_controller.rb
b/apps/workbench/app/controllers/work_units_controller.rb
index 767762c81e3cd3d899bda0b3bce873cc97c390b9..1ecea99babce40e6755839889d0f6dad6ef26b18 100644
(file)
--- a/
apps/workbench/app/controllers/work_units_controller.rb
+++ b/
apps/workbench/app/controllers/work_units_controller.rb
@@
-3,8
+3,8
@@
# SPDX-License-Identifier: AGPL-3.0
class WorkUnitsController < ApplicationController
# SPDX-License-Identifier: AGPL-3.0
class WorkUnitsController < ApplicationController
- skip_around_
filter
:require_thread_api_token, if: proc { |ctrl|
-
Rails.configuration.anonymous_user_token
and
+ skip_around_
action
:require_thread_api_token, if: proc { |ctrl|
+
!Rails.configuration.Users.AnonymousUserToken.empty?
and
'show_child_component' == ctrl.action_name
}
'show_child_component' == ctrl.action_name
}
@@
-126,7
+126,7
@@
class WorkUnitsController < ApplicationController
"--local",
"--api=containers",
"--project-uuid=#{params['work_unit']['owner_uuid']}",
"--local",
"--api=containers",
"--project-uuid=#{params['work_unit']['owner_uuid']}",
- "--collection-
keep-cach
e=#{keep_cache}",
+ "--collection-
cache-siz
e=#{keep_cache}",
"/var/lib/cwl/workflow.json#main",
"/var/lib/cwl/cwl.input.json"]
"/var/lib/cwl/workflow.json#main",
"/var/lib/cwl/cwl.input.json"]