garbados closed pull request #281: Document the couchdb/default_security
configuration setting
URL: https://github.com/apache/couchdb-documentation/pull/281
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/src/config/couchdb.rst b/src/config/couchdb.rst
index 79b2596..1795f4f 100644
--- a/src/config/couchdb.rst
+++ b/src/config/couchdb.rst
@@ -45,6 +45,13 @@ Base CouchDB Options
[couchdb]
database_dir = /var/lib/couchdb
+ .. config:option:: default_security :: Default security
+
+ Default security object for databases if not explicitly set. When set
to ``everyone``, anyone can performs reads and writes. When set to
``admin_only``, only admins can read and write. When set to ``admin_local``,
sharded databases can be read and written by anyone but the shards can only be
read and written by admins.
+
+ [couchdb]
+ default_security = admin_local
+
.. config:option:: delayed_commits :: Delayed commits
When this config value is ``false`` the CouchDB provides a guarantee
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services