Merge branch '8784-dir-listings'
[arvados.git] / apps / workbench / app / models / node.rb
index 6518047b8d161df66605bb5f34ad61132cd3bb8c..785cc4fcfe5279dcc31288ab6951de498b328817 100644 (file)
@@ -1,8 +1,12 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class Node < ArvadosBase
   def self.creatable?
-    current_user and current_user.is_admin
+    false
   end
-  def friendly_link_name
+  def friendly_link_name lookup=nil
     (hostname && !hostname.empty?) ? hostname : uuid
   end
 end