diff --git a/lib/galaxy/config.py b/lib/galaxy/config.py index 678291550c9..f8de3e22a5b 100644 --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -106,6 +106,7 @@ class Configuration( object ): self.smtp_username = kwargs.get( 'smtp_username', None ) self.smtp_password = kwargs.get( 'smtp_password', None ) self.start_job_runners = kwargs.get( 'start_job_runners', None ) + self.expose_dataset_path = string_as_bool( kwargs.get( 'expose_dataset_path', 'False' ) ) # External Service types used in sample tracking self.external_service_type_config_file = resolve_path( kwargs.get( 'external_service_type_config_file', 'external_service_types_conf.xml' ), self.root ) self.external_service_type_path = resolve_path( kwargs.get( 'external_service_type_path', 'external_service_types' ), self.root ) diff --git a/templates/show_params.mako b/templates/show_params.mako index cd4e6e550d1..4fa36b1ca9c 100644 --- a/templates/show_params.mako +++ b/templates/show_params.mako @@ -52,6 +52,9 @@ Tool Version:${hda.tool_version} Tool Standard Output:stdout Tool Standard Error:stderr + %if trans.user_is_admin() or trans.app.config.expose_dataset_path: + Full Path:${hda.file_name} + %endif
diff --git a/universe_wsgi.ini.sample b/universe_wsgi.ini.sample index cef8e37f519..3301c17646f 100644 --- a/universe_wsgi.ini.sample +++ b/universe_wsgi.ini.sample @@ -678,6 +678,10 @@ use_interactive = True #pbs_stage_path = #pbs_dataset_server = +# This option allows users to see the full path of datasets via the "View +# Details" option in the history. Administrators can always see this. +#expose_dataset_path = False + # ---- Per-Tool Job Management ---------------------------------------------- # Per-tool job handler and runner overrides. Parameters can be included to define multiple