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/22 14:45:53 UTC

[couchdb-documentation] 01/01: 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 fix-require_valid_user-config-section-docs
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit 0f40bdf0f8202dfb76bb6fe4d47e73bf70a4ec0d
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 70ec276..5dbffdf 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`,
@@ -279,16 +281,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 9339aa7..82c6a7e 100644
--- a/src/whatsnew/3.2.rst
+++ b/src/whatsnew/3.2.rst
@@ -162,7 +162,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``,