Skip to content

Commit

Permalink
it's 'names' not 'users' and 'members' not 'readers'
Browse files Browse the repository at this point in the history
  • Loading branch information
rnewson committed Jun 26, 2015
1 parent 83d4d35 commit 51a9bb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/api/database/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Both ``members`` and ``admins`` objects are contains two array-typed
fields:

- ``users``: List of CouchDB user names
- ``names``: List of CouchDB user names
- ``roles``: List of users roles

Any other additional fields in the security object are optional.
Expand Down
6 changes: 3 additions & 3 deletions src/json-structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -563,13 +563,13 @@ Security Object
+--------------------------------+---------------------------------------------+
| roles [array] | List of roles with parent privilege |
+--------------------------------+---------------------------------------------+
| users [array] | List of users with parent privilege |
| names [array] | List of users with parent privilege |
+--------------------------------+---------------------------------------------+
| readers | Roles/Users with reader privileges |
| members | Roles/Users with non-admin privileges |
+--------------------------------+---------------------------------------------+
| roles [array] | List of roles with parent privilege |
+--------------------------------+---------------------------------------------+
| users [array] | List of users with parent privilege |
| names [array] | List of users with parent privilege |
+--------------------------------+---------------------------------------------+

.. code-block:: javascript
Expand Down

0 comments on commit 51a9bb0

Please sign in to comment.