Allow all active users to retrieve list of keep nodes.
[arvados.git] / services / api / app / models / user.rb
index 2fb3df392698015eb38f139e89fc5baac99f4827..6bb562be8ea260ee1fa7c47cc214e3d010476848 100644 (file)
@@ -10,7 +10,7 @@ class User < ArvadosModel
 
   has_many :authorized_keys, :foreign_key => :authorized_user_uuid, :primary_key => :uuid
 
-  api_accessible :superuser, :extend => :common do |t|
+  api_accessible :user, extend: :common do |t|
     t.add :email
     t.add :full_name
     t.add :first_name