def default_name
self.class.resource_class_for_uuid(head_uuid).default_name rescue super
end
+
+ def self.permissions_for(thing)
+ if thing.respond_to? :uuid
+ uuid = thing.uuid
+ else
+ uuid = thing
+ end
+ result = arvados_api_client.api("permissions", "/#{uuid}")
+ arvados_api_client.unpack_api_response(result)
+ end
+
+ def self.creatable?
+ false
+ end
end