[ARVADOS] created: 11a007fd7bbc3b35b6efd62c84d9ca5a8f45aecb

git at public.curoverse.com git at public.curoverse.com
Mon Apr 27 17:50:21 EDT 2015


        at  11a007fd7bbc3b35b6efd62c84d9ca5a8f45aecb (commit)


commit 11a007fd7bbc3b35b6efd62c84d9ca5a8f45aecb
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Mon Apr 27 16:58:10 2015 -0400

    5826: check readable only when it is a data collection pdf or uuid.

diff --git a/apps/workbench/app/controllers/pipeline_instances_controller.rb b/apps/workbench/app/controllers/pipeline_instances_controller.rb
index 57deee4..fc8bd4b 100644
--- a/apps/workbench/app/controllers/pipeline_instances_controller.rb
+++ b/apps/workbench/app/controllers/pipeline_instances_controller.rb
@@ -305,7 +305,7 @@ class PipelineInstancesController < ApplicationController
             split = value.split '/'
             if CollectionsHelper.match(split[0])
               input_pdhs << split[0]
-            else
+            elsif CollectionsHelper.match_uuid_with_optional_filepath(split[0])
               input_uuids << split[0]
             end
           end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list