11718: Update crunch-run for docker client API change in ContainerWait().
[arvados.git] / services / api / app / models / pipeline_template.rb
index 205ce696faddfe80d0fbf6ec5aa88611af4b21de..c6fb7a2084c9900b0c5d521b992c9757df7f58f7 100644 (file)
@@ -1,11 +1,16 @@
 class PipelineTemplate < ArvadosModel
-  include AssignUuid
+  include HasUuid
   include KindAndEtag
   include CommonApiTemplate
   serialize :components, Hash
 
-  api_accessible :superuser, :extend => :common do |t|
+  api_accessible :user, extend: :common do |t|
     t.add :name
     t.add :components
+    t.add :description
+  end
+
+  def self.limit_index_columns_read
+    ["components"]
   end
 end