X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a3222e35cda68c8e48a17921c33ac37ecb5c3bac..fe8657ef0f8698837e9bdb5e9c1bf26a068efba9:/apps/workbench/app/models/group.rb diff --git a/apps/workbench/app/models/group.rb b/apps/workbench/app/models/group.rb index a91b729c86..3f5da155c4 100644 --- a/apps/workbench/app/models/group.rb +++ b/apps/workbench/app/models/group.rb @@ -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,12 +29,6 @@ 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) - end - def textile_attributes [ 'description' ] end