Merge branch '10312-nodemanager-quotas' refs #10312
[arvados.git] / apps / workbench / app / models / container_request.rb
index 73609c577e8846e4ec9a5473437d949549cfe234..7cbd91e8664422fe194f281cf166896d81a268bf 100644 (file)
@@ -1,3 +1,17 @@
 class ContainerRequest < ArvadosBase
+  def self.creatable?
+    false
+  end
 
+  def textile_attributes
+    [ 'description' ]
+  end
+
+  def self.goes_in_projects?
+    true
+  end
+
+  def work_unit(label=nil, child_objects=nil)
+    ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects)
+  end
 end