Looking at the source code[1], I understand that `validate_doc_update` functions are called with four arguments, instead of three as documented on the wiki[2] and the "Definitive Guide"[3].
If I understand it correctly, the fourth argument is the security object of the database. Is it correct?. It's OK for you if I update the wiki[2] with this information? Thanks, Marcello [1]: https://github.com/apache/couchdb/blob/trunk/src/couchdb/couch_query_servers.erl#L225 [2]: http://wiki.apache.org/couchdb/Document_Update_Validation [3]: http://guide.couchdb.org/draft/validation.html
