CouchDB
  1. CouchDB
  2. COUCHDB-441

Finally implement pre-write-doc-edit handlers.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.10
    • Component/s: HTTP Interface
    • Labels:
      None

      Description

      It would be useful for auditing to have the identity of the user who inserted a new revision and the timestamp of the operation to be inserted in the document in the same way that the new revision number is.

      Doing this at the application level is not adequate since it would be readily spoofable and would bypass the authentication handler.

      There is a comment in couch_db:update_docs about generating new revision ids, but I couldn't quite comprehend what specific code was responsible for inserting the id into the document.

      1. COUCHDB-441.2.patch
        17 kB
        Jason Davies
      2. COUCHDB-441.3.patch
        21 kB
        Jason Davies
      3. COUCHDB-441.patch
        10 kB
        Paul Joseph Davis

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Curt Arnold
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development