Merge branch 'master' into 3859-api-job-lock-method
[arvados.git] / apps / workbench / app / models / pipeline_instance.rb
index e33484642b5e666b9887fc60f35ea24d6aaa9a64..89acbb0dbb9438bbbb80ba2bc97cc1ce93eac9fa 100644 (file)
@@ -44,7 +44,7 @@ class PipelineInstance < ArvadosBase
   end
 
   def attribute_editable? attr, *args
-    super && (attr.to_sym == :name ||
+    super && (attr.to_sym == :name || attr.to_sym == :description ||
               (attr.to_sym == :components and
                (self.state == 'New' || self.state == 'Ready')))
   end
@@ -67,4 +67,8 @@ class PipelineInstance < ArvadosBase
       "\"#{input_name.to_s}\" parameter for #{component[:script]} script in #{component_name} component"
     end
   end
+
+  def textile_attributes
+    [ 'description' ]
+  end
 end