8784: Fix test for latest firefox.
[arvados.git] / services / api / app / models / api_client.rb
index b3e1b2e3d3bb0a9e9f1594b09147c2ffc1cbcb54..75a800ba4507c45022622b01b9308a5874699df0 100644 (file)
@@ -1,11 +1,12 @@
-class ApiClient < ActiveRecord::Base
-  include AssignUuid
+class ApiClient < ArvadosModel
+  include HasUuid
   include KindAndEtag
   include CommonApiTemplate
   has_many :api_client_authorizations
 
-  api_accessible :superuser, :extend => :common do |t|
+  api_accessible :user, extend: :common do |t|
     t.add :name
     t.add :url_prefix
+    t.add :is_trusted
   end
 end