[ https://issues.apache.org/jira/browse/COUCHDB-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Joseph Davis closed COUCHDB-441.
-------------------------------------
Resolution: Won't Fix
Fix Version/s: 0.10
Assignee: Paul Joseph Davis
Inserting timestamps automagically would be bad because it would limit a whole swath of use
cases. Probably the same for user id.
The feature you're wanting is the end point that allows a JavaScript function to mutate incoming
docs before they're written to the DB. If there isn't a ticket for that yet please create
one so that it stares at us like a lost puppy and it'll be gotten to.
> Insert _user and _timestamp on document writes
> -----------------------------------------------
>
> Key: COUCHDB-441
> URL: https://issues.apache.org/jira/browse/COUCHDB-441
> Project: CouchDB
> Issue Type: Improvement
> Components: Database Core
> Reporter: Curt Arnold
> Assignee: Paul Joseph Davis
> Fix For: 0.10
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|