Merge branch 'master' into 3193-manage-account
[arvados.git] / apps / workbench / app / models / api_client_authorization.rb
index 9cf1359b49ebce37d8b3997f7ecf652b2b49bcd6..ac3a9bf8ed53998adcb1ebfdcc6dc038fdc84136 100644 (file)
@@ -1,5 +1,8 @@
 class ApiClientAuthorization < ArvadosBase
-  def attribute_editable?(attr)
-    ['expires_at', 'default_owner'].index attr
+  def attribute_editable? attr, *args
+    ['expires_at', 'default_owner_uuid'].index attr
+  end
+  def self.creatable?
+    false
   end
 end