You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/04/20 01:10:32 UTC

[Couchdb Wiki] Trivial Update of "Technical Overview" by fana

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Technical Overview" page has been changed by fana.
http://wiki.apache.org/couchdb/Technical%20Overview?action=diff&rev1=3&rev2=4

--------------------------------------------------

  
  To protect document contents, CouchDB documents can have a reader list. This is an optional list of reader-names allowed to read the document. When a reader list is used, protected documents are only viewable by listed users.
  
- When a user accesses a database, the his/her credentials (name and password) are used to dynamically determine his reader names. The user credentials are input to a javascript function and the function returns a list of names for the user, or an error if the user credentials are wrong.
+ When a user accesses a database, then his/her credentials (name and password) are used to dynamically determine his reader names. The user credentials are input to a javascript function and the function returns a list of names for the user, or an error if the user credentials are wrong.
  
  When a document is protected by reader access lists, any user attempting to read the document must be listed. Reader lists are enforced in views too. Documents that are not allowed to be read by the user are dynamically filtered out of views, keeping the document row and extracted information invisible to non-readers.