X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ac30c34ccfacce16cca52e155d2a0e50b0185dc3..7d9cfb6e0716239f996bae054bc9345a663e0b7e:/apps/workbench/app/models/group.rb diff --git a/apps/workbench/app/models/group.rb b/apps/workbench/app/models/group.rb index 558c587a1c..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,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