Skip to content

Commit

Permalink
Add documentation for couch_peruser
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausTrainer committed Sep 29, 2015
1 parent 57a65ef commit c6bdee2
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
43 changes: 43 additions & 0 deletions src/config/couch-peruser.rst
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions src/config/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Configuring CouchDB

intro
couchdb
couch-peruser
http
auth
compaction
Expand Down

0 comments on commit c6bdee2

Please sign in to comment.