Merge branch 'master' of git.clinicalfuture.com:arvados
[arvados.git] / services / api / app / models / api_client.rb
index b3e1b2e3d3bb0a9e9f1594b09147c2ffc1cbcb54..3e1dcd6c4a2ccecde1230c3f3b4fcfdb531db05b 100644 (file)
@@ -4,8 +4,9 @@ class ApiClient < ActiveRecord::Base
   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