Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 968BC899B for ; Wed, 7 Sep 2011 12:02:07 +0000 (UTC) Received: (qmail 73135 invoked by uid 500); 7 Sep 2011 12:02:04 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 72017 invoked by uid 500); 7 Sep 2011 12:01:47 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 71841 invoked by uid 99); 7 Sep 2011 12:01:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 12:01:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 12:01:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B450785A75 for ; Wed, 7 Sep 2011 12:01:10 +0000 (UTC) Date: Wed, 7 Sep 2011 12:01:10 +0000 (UTC) From: "Riccardo Virzi (JIRA)" To: dev@couchdb.apache.org Message-ID: <2118918871.25116.1315396870734.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1418675672.25102.1315396269840.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (COUCHDB-1273) Enhance usrCtx in validate_doc_update MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Riccardo Virzi updated COUCHDB-1273: ------------------------------------ Skill Level: Dont Know Priority: Minor (was: Major) Description: The parameter usrCtx in the validate_doc_update function only have specific fields. They not corresponding to the document in the _users database. I want to save application specific fields in the user document in the _users database. When the validate_doc_update function is called, I need access to that fields. Is it possible to pass the complete user document and not only the actual list of fields? Or you make the fields configurable. > Enhance usrCtx in validate_doc_update > ------------------------------------- > > Key: COUCHDB-1273 > URL: https://issues.apache.org/jira/browse/COUCHDB-1273 > Project: CouchDB > Issue Type: Improvement > Reporter: Riccardo Virzi > Priority: Minor > > The parameter usrCtx in the validate_doc_update function only have specific fields. They not corresponding to the document in the _users database. > I want to save application specific fields in the user document in the _users database. When the validate_doc_update function is called, I need access to that fields. Is it possible to pass the complete user document and not only the actual list of fields? Or you make the fields configurable. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira