Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / models / authorized_key.rb
index d84adea44f1832360b03ac5edc09a5cc10371a08..9809eef0e3db2fe849f9402db6838b8b06e86b8a 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class AuthorizedKey < ArvadosBase
   def attribute_editable?(attr, ever=nil)
     if (attr.to_s == 'authorized_user_uuid') and (not ever)
@@ -8,6 +12,6 @@ class AuthorizedKey < ArvadosBase
   end
 
   def self.creatable?
-    current_user
+    false
   end
 end