remove "create new api client authorization" button
authorTom Clegg <tom@clinicalfuture.com>
Thu, 27 Jun 2013 18:24:53 +0000 (14:24 -0400)
committerTom Clegg <tom@clinicalfuture.com>
Thu, 27 Jun 2013 18:24:53 +0000 (14:24 -0400)
apps/workbench/app/models/api_client_authorization.rb

index 9cf1359b49ebce37d8b3997f7ecf652b2b49bcd6..af47acc7f289b67715ebda61aa7db8f937c26220 100644 (file)
@@ -2,4 +2,7 @@ class ApiClientAuthorization < ArvadosBase
   def attribute_editable?(attr)
     ['expires_at', 'default_owner'].index attr
   end
+  def self.creatable?
+    false
+  end
 end