[ARVADOS] updated: 2.1.0-300-g7885ae2c3

Git user git at public.arvados.org
Thu Jan 28 00:41:11 UTC 2021


Summary of changes:
 doc/install/install-keep-web.html.textile.liquid | 5 ++++-
 lib/config/config.default.yml                    | 7 ++++---
 lib/config/generated_config.go                   | 7 ++++---
 3 files changed, 12 insertions(+), 7 deletions(-)

       via  7885ae2c39bd2e7a38943fe9a56463fb4349a5ac (commit)
      from  5a1a3d656c6d2d92edaed19c735a9b1e1eb39f71 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 7885ae2c39bd2e7a38943fe9a56463fb4349a5ac
Author: Ward Vandewege <ward at curii.com>
Date:   Wed Jan 27 19:36:49 2021 -0500

    Documentation: reflect the current state of anonymous token generation.
    
    refs #16726
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/doc/install/install-keep-web.html.textile.liquid b/doc/install/install-keep-web.html.textile.liquid
index 69d14e0b9..5dd229b31 100644
--- a/doc/install/install-keep-web.html.textile.liquid
+++ b/doc/install/install-keep-web.html.textile.liquid
@@ -107,7 +107,10 @@ h2(#update-config). Configure anonymous user token
 
 {% assign railscmd = "bundle exec ./script/get_anonymous_user_token.rb --get" %}
 {% assign railsout = "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz" %}
-If you intend to use Keep-web to serve public data to anonymous clients, configure it with an anonymous token. Use the following command on the <strong>API server</strong> to create an anonymous user token. {% include 'install_rails_command' %}
+If you intend to use Keep-web to serve public data to anonymous clients, configure it with an anonymous token.
+
+# First, generate a long random string and put it in the @config.yml@ file, in the @AnonymousUserToken@ field.
+# Then, use the following command on the <strong>API server</strong> to register the anonymous user token in the database. {% include 'install_rails_command' %}
 
 <notextile>
 <pre><code>    Users:
diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml
index 803c922c9..771dc2ee7 100644
--- a/lib/config/config.default.yml
+++ b/lib/config/config.default.yml
@@ -270,9 +270,10 @@ Clusters:
       NewUserNotificationRecipients: {}
       NewInactiveUserNotificationRecipients: {}
 
-      # Set AnonymousUserToken to enable anonymous user access. You can get
-      # the token by running "bundle exec ./script/get_anonymous_user_token.rb"
-      # in the directory where your API server is running.
+      # Set AnonymousUserToken to enable anonymous user access. Populate this
+      # field with a long random string. Then run "bundle exec
+      # ./script/get_anonymous_user_token.rb" in the directory where your API
+      # server is running to record the token in the database.
       AnonymousUserToken: ""
 
       # If a new user has an alternate email address (local at domain)
diff --git a/lib/config/generated_config.go b/lib/config/generated_config.go
index 0660ffab1..a202a5404 100644
--- a/lib/config/generated_config.go
+++ b/lib/config/generated_config.go
@@ -276,9 +276,10 @@ Clusters:
       NewUserNotificationRecipients: {}
       NewInactiveUserNotificationRecipients: {}
 
-      # Set AnonymousUserToken to enable anonymous user access. You can get
-      # the token by running "bundle exec ./script/get_anonymous_user_token.rb"
-      # in the directory where your API server is running.
+      # Set AnonymousUserToken to enable anonymous user access. Populate this
+      # field with a long random string. Then run "bundle exec
+      # ./script/get_anonymous_user_token.rb" in the directory where your API
+      # server is running to record the token in the database.
       AnonymousUserToken: ""
 
       # If a new user has an alternate email address (local at domain)

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list