Merge branch 'master' into 2798-go-keep-client
[arvados.git] / apps / workbench / app / models / api_client_authorization.rb
index 9cf1359b49ebce37d8b3997f7ecf652b2b49bcd6..620ebc7b9600b8ea777cf869874f0f4f45d3d71c 100644 (file)
@@ -1,5 +1,8 @@
 class ApiClientAuthorization < ArvadosBase
   def attribute_editable?(attr)
-    ['expires_at', 'default_owner'].index attr
+    ['expires_at', 'default_owner_uuid'].index attr
+  end
+  def self.creatable?
+    false
   end
 end