You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2022/08/23 06:51:32 UTC

[couchdb-documentation] branch main updated: config section for require_valid_user is only [chttpd]

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git


The following commit(s) were added to refs/heads/main by this push:
     new ad69df6  config section for require_valid_user is only [chttpd]
ad69df6 is described below

commit ad69df69c7b4911010b4aef88a69e8398cc7750c
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Mon Aug 22 16:45:11 2022 +0200

    config section for require_valid_user is only [chttpd]
---
 src/config/auth.rst  | 14 +++-----------
 src/whatsnew/3.2.rst |  2 +-
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/src/config/auth.rst b/src/config/auth.rst
index 40a7a8f..a1f393f 100644
--- a/src/config/auth.rst
+++ b/src/config/auth.rst
@@ -116,6 +116,8 @@ Authentication Configuration
 
     .. config:option:: require_valid_user :: Force user authentication
 
+        .. versionchanged:: 3.2 moved from [couch_httpd_auth] to [chttpd] section
+
         When this option is set to ``true``, no requests are allowed from
         anonymous users. Everyone must be authenticated. ::
 
@@ -134,7 +136,7 @@ Authentication Configuration
 .. config:section:: chttpd_auth :: Authentication Configuration
 
     .. versionchanged:: 3.2 These options were moved to [chttpd_auth] section:
-                        `authentication_redirect`, `require_valid_user`, `timeout`,
+                        `authentication_redirect`, `timeout`,
                         `auth_cache_size`, `allow_persistent_cookies`, `iterations`,
                         `min_iterations`, `max_iterations`, `secret`, `users_db_public`,
                         `x_auth_roles`, `x_auth_token`, `x_auth_username`,
@@ -281,16 +283,6 @@ Authentication Configuration
                 [chttpd_auth]
                 users_db_public = true
 
-    .. config:option:: require_valid_user :: Force user authentication
-
-        .. versionchanged:: 3.2 moved from [couch_httpd_auth] to [chttpd_auth] section
-
-        When this option is set to ``true``, no requests are allowed from
-        anonymous users. Everyone must be authenticated. ::
-
-            [chttpd_auth]
-            require_valid_user = false
-
     .. config:option:: secret :: Authentication secret token
 
         .. versionchanged:: 3.2 moved from [couch_httpd_auth] to [chttpd_auth] section
diff --git a/src/whatsnew/3.2.rst b/src/whatsnew/3.2.rst
index 9e079a2..d9962c5 100644
--- a/src/whatsnew/3.2.rst
+++ b/src/whatsnew/3.2.rst
@@ -178,7 +178,7 @@ Features and Enhancements
     ``enable_xframe_options``, ``max_http_request_size``.
 
   * Config options moved from ``[couch_httpd_auth]`` to ``[chttpd_auth]``:
-    ``authentication_redirect``, ``require_valid_user``, ``timeout``, ``auth_cache_size``,
+    ``authentication_redirect``, ``timeout``, ``auth_cache_size``,
     ``allow_persistent_cookies``, ``iterations``, ``min_iterations``, ``max_iterations``,
     ``password_scheme``, ``proxy_use_secret``, ``public_fields``, ``secret``,
     ``users_db_public``, ``x_auth_roles``, ``x_auth_token``, ``x_auth_username``,