You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kl...@apache.org on 2015/09/29 17:55:39 UTC

documentation commit: updated refs/heads/master to c6bdee2

Repository: couchdb-documentation
Updated Branches:
  refs/heads/master 57a65effe -> c6bdee2ba


Add documentation for couch_peruser


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

Branch: refs/heads/master
Commit: c6bdee2bacada3f2ab02736fac143511a5505531
Parents: 57a65ef
Author: Klaus Trainer <kl...@posteo.de>
Authored: Tue Sep 29 17:53:24 2015 +0200
Committer: Klaus Trainer <kl...@posteo.de>
Committed: Tue Sep 29 17:53:24 2015 +0200

----------------------------------------------------------------------
 src/config/couch-peruser.rst | 43 +++++++++++++++++++++++++++++++++++++++
 src/config/index.rst         |  1 +
 2 files changed, 44 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/c6bdee2b/src/config/couch-peruser.rst
----------------------------------------------------------------------
diff --git a/src/config/couch-peruser.rst b/src/config/couch-peruser.rst
new file mode 100644
index 0000000..94868d7
--- /dev/null
+++ b/src/config/couch-peruser.rst
@@ -0,0 +1,43 @@
+.. Licensed under the Apache License, Version 2.0 (the "License"); you may not
+.. use this file except in compliance with the License. You may obtain a copy of
+.. the License at
+..
+..   http://www.apache.org/licenses/LICENSE-2.0
+..
+.. Unless required by applicable law or agreed to in writing, software
+.. distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+.. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+.. License for the specific language governing permissions and limitations under
+.. the License.
+
+.. default-domain:: config
+.. highlight:: ini
+
+=============
+couch_peruser
+=============
+
+.. _config/couch_peruser:
+
+couch_peruser Options
+=====================
+
+.. config:section:: couch_peruser :: couch_peruser Options
+
+    .. config:option:: enable
+
+	If set to ``true``, couch_peruser ensures that a private per-user
+	database exists for each document in ``_users``. These databases are
+	writable only by the corresponding user. Databases are in the following
+	form: ``userdb-{hex encoded username}``. ::
+
+	    [couch_peruser]
+	    enable = false
+
+    .. config:option:: delete_dbs
+
+	If set to ``true`` and a user is deleted, the respective database gets
+	deleted as well. ::
+
+	    [couch_peruser]
+	    delete_dbs = false

http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/c6bdee2b/src/config/index.rst
----------------------------------------------------------------------
diff --git a/src/config/index.rst b/src/config/index.rst
index 6306dc2..a906c5b 100644
--- a/src/config/index.rst
+++ b/src/config/index.rst
@@ -21,6 +21,7 @@ Configuring CouchDB
 
     intro
     couchdb
+    couch-peruser
     http
     auth
     compaction