Merge branch 'master' into 6203-collection-perf-api
[arvados.git] / apps / workbench / app / models / group.rb
index 558c587a1c9c83d3a0bb824475e0b8f2553e4a0d..3f5da155c4ca9fc5ea13d0836551a92c3c11d435 100644 (file)
@@ -3,6 +3,10 @@ class Group < ArvadosBase
     true
   end
 
+  def self.copies_to_projects?
+    false
+  end
+
   def self.contents params={}
     res = arvados_api_client.api self, "/contents", {
       _method: 'GET'
@@ -25,9 +29,7 @@ class Group < ArvadosBase
     group_class == 'project' ? 'Project' : super
   end
 
-  def editable?
-    respond_to?(:writable_by) and
-      writable_by and
-      writable_by.index(current_user.uuid)
+  def textile_attributes
+    [ 'description' ]
   end
 end