X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/43c411ec1441ee1710dc33389d7451f7414a170f..5b64c43183ede1313ccd7b44425d83a0b496a021:/apps/workbench/app/models/collection.rb diff --git a/apps/workbench/app/models/collection.rb b/apps/workbench/app/models/collection.rb index d96146143d..bda5523d8c 100644 --- a/apps/workbench/app/models/collection.rb +++ b/apps/workbench/app/models/collection.rb @@ -8,4 +8,20 @@ class Collection < ArvadosBase tot end end + + def attribute_editable?(attr) + false + end + + def self.creatable? + false + end + + def provenance + $arvados_api_client.api "collections/#{self.uuid}/", "provenance" + end + + def used_by + $arvados_api_client.api "collections/#{self.uuid}/", "used_by" + end end