20032: Fix unnecessary race in test.
[arvados.git] / apps / workbench / app / models / link.rb
index 271fa0f0103eac4e3197d417ffc31430285b6643..920b4bdcc561f542fe465369333a6c62b89098f4 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class Link < ArvadosBase
   attr_accessor :head
   attr_accessor :tail
@@ -18,4 +22,8 @@ class Link < ArvadosBase
     result = arvados_api_client.api("permissions", "/#{uuid}")
     arvados_api_client.unpack_api_response(result)
   end
+
+  def self.creatable?
+    false
+  end
 end