CouchDB
  1. CouchDB
  2. COUCHDB-1273

Enhance usrCtx in validate_doc_update

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: View Server Support
    • Labels:
      None
    • Skill Level:
      Dont Know

      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.

        Activity

        Riccardo Virzi created issue -
        Riccardo Virzi made changes -
        Field Original Value New Value
        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.
        Priority Major [ 3 ] Minor [ 4 ]
        Skill Level Dont Know
        Alexander Shorin made changes -
        Component/s View Server Support [ 12316411 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Riccardo Virzi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development