[ARVADOS] updated: 2.1.0-59-g5945736d7
Git user
git at public.arvados.org
Thu Jan 28 00:41:03 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 5945736d7adc0b046d1d9f3767e0f35537f85330 (commit)
from f3606ed6308c411c9f3fa65df8b794122eb72a72 (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 5945736d7adc0b046d1d9f3767e0f35537f85330
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 14536cf20..90ae6faa7 100644
--- a/doc/install/install-keep-web.html.textile.liquid
+++ b/doc/install/install-keep-web.html.textile.liquid
@@ -99,7 +99,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 d25ffaaf0..670352a3a 100644
--- a/lib/config/config.default.yml
+++ b/lib/config/config.default.yml
@@ -273,9 +273,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 60ba85b47..a11376f40 100644
--- a/lib/config/generated_config.go
+++ b/lib/config/generated_config.go
@@ -279,9 +279,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