You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by dj...@apache.org on 2013/08/07 16:50:50 UTC

git commit: updated refs/heads/master to 365f7b9

Updated Branches:
  refs/heads/master 6ce887fad -> 365f7b950


Add documentation on users_db_public (see COUCHDB-1838).


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/365f7b95
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/365f7b95
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/365f7b95

Branch: refs/heads/master
Commit: 365f7b95007689106dfe7b073e2a4f844c85f75f
Parents: 6ce887f
Author: Dirkjan Ochtman <dj...@apache.org>
Authored: Wed Aug 7 16:50:37 2013 +0200
Committer: Dirkjan Ochtman <dj...@apache.org>
Committed: Wed Aug 7 16:50:37 2013 +0200

----------------------------------------------------------------------
 share/doc/src/changelog.rst        |  8 ++------
 share/doc/src/config_reference.rst | 12 ++++++++----
 2 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/365f7b95/share/doc/src/changelog.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/changelog.rst b/share/doc/src/changelog.rst
index 50c920c..44c09c0 100644
--- a/share/doc/src/changelog.rst
+++ b/share/doc/src/changelog.rst
@@ -32,11 +32,6 @@ We now support Erlang/OTP R16B and R16B01; the minimum required version is R14B.
 User document role values must now be strings. Other types of values will be
 refused when saving the user document.
 
-.. warning::
-   Using the `public_fields` whitelist for user document properties makes
-   the existence of specific user documents public even if they don't contain
-   any of the whitelisted properties. See :issue:`1838` for more information.
-
 Version 1.4.0
 -------------
 
@@ -50,7 +45,8 @@ Version 1.4.0
   :commit:`c98ba561`
 * :issue:`1772`: Prevent invalid JSON output when using `all_or_nothing`
   `_bulk_docs` API. :commit:`dfd39d57`
-* Add a configurable whitelist of user document properties. :commit:`8d7ab8b1`
+* Add a :ref:`configurable whitelist <config-couch_httpd_auth>` of user
+  document properties. :commit:`8d7ab8b1`
 * :issue:`1852`: Support Last-Event-ID header in EventSource changes feeds.
   :commit:`dfd2199a`
 * Much improved documentation, including an :ref:`expanded description

http://git-wip-us.apache.org/repos/asf/couchdb/blob/365f7b95/share/doc/src/config_reference.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/config_reference.rst b/share/doc/src/config_reference.rst
index 0807670..a1b6456 100644
--- a/share/doc/src/config_reference.rst
+++ b/share/doc/src/config_reference.rst
@@ -133,6 +133,8 @@ httpd_db_handlers Configuration Options
 | _view_cleanup                        | _view_cleanup                         |
 +--------------------------------------+---------------------------------------+
 
+.. _config-couch_httpd_auth:
+
 couch_httpd_auth Configuration Options
 --------------------------------------
 
@@ -151,13 +153,15 @@ couch_httpd_auth Configuration Options
 +--------------------------------------+---------------------------------------+
 | iterations                           | Password key derivation iterations    |
 +--------------------------------------+---------------------------------------+
+| users_db_public                      | Allow all users to view user documents|
++--------------------------------------+---------------------------------------+
 | public_fields                        | World-viewable user document fields   |
 +--------------------------------------+---------------------------------------+
 
-.. warning::
-   Using the `public_fields` whitelist for user document properties makes
-   the existence of specific user documents public even if they don't contain
-   any of the whitelisted properties. See :issue:`1838` for more information.
+.. note::
+   Using the `public_fields` whitelist for user document properties requires
+   setting the `users_db_public` option to `true` (the latter option has no
+   other purpose).
 
 httpd Configuration Options
 ---------------------------