mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
New config option, and change in default behavior regarding dataset path display in View Details. Administrators can now *always* see the full path, and if the expose_dataset_path option is True, so can regular users.
This commit is contained in:
@@ -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 )
|
||||
|
||||
@@ -52,6 +52,9 @@
|
||||
<tr><td>Tool Version:</td><td>${hda.tool_version}</td></tr>
|
||||
<tr><td>Tool Standard Output:</td><td><a href="${h.url_for( controller='dataset', action='stdout')}">stdout</a></td></tr>
|
||||
<tr><td>Tool Standard Error:</td><td><a href="${h.url_for( controller='dataset', action='stderr')}">stderr</a></td></tr>
|
||||
%if trans.user_is_admin() or trans.app.config.expose_dataset_path:
|
||||
<tr><td>Full Path:</td><td>${hda.file_name}</td></tr>
|
||||
%endif
|
||||
</table>
|
||||
<br />
|
||||
<table class="tabletip">
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user