Add a config setting: auto_admin_user
[arvados.git] / services / api / config / environments / production.rb.example
index 3af489528a71ec9b7f11ebbc96a55c43cf0a2a90..9147f4f7da9ec74411a1e7028d09cbe6099caf97 100644 (file)
@@ -68,7 +68,7 @@ Server::Application.configure do
   # config.dnsmasq_conf_dir = '/etc/dnsmasq.d'
 
   # config.compute_node_ami = 'ami-cbca41a2'
-  # config.compute_node_security_group = 'arvados-compute'
+  # config.compute_node_ec2run_args = '-g arvados-compute'
   # config.compute_node_spot_bid = 0.11
 
   # config.compute_node_domain = `hostname --domain`.strip
@@ -88,4 +88,11 @@ Server::Application.configure do
   config.new_users_are_active = false
   config.admin_notifier_email_from = 'arvados@example.com'
   config.email_subject_prefix = '[ARVADOS] '
+
+  # The e-mail address of the user you would like to become marked as an admin
+  # user on their first login.
+  # In the default configuration, authentication happens through the Arvados SSO
+  # server, which uses openid against Google's servers, so in that case this
+  # should be an address associated with a Google account.
+  config.auto_admin_user = ''
 end