incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: Are these in Plugin scope?
Date Tue, 13 May 2014 20:30:51 GMT
Hi Suraj,

> 1. Audit keeping: set a mandatory (potentially configurable) field in each
> doc with the UserCtx.name and Date/Time. (like, "last_modified_time" =
> current_time and "last_modified_by" = UserCtx.name).
> 2. Audit trail: whenever docs are created/updated, also write another
> "snapshot" doc for history keeping.

I might have misunderstood what you wanted to achieve but couldn't you do that with a simple
update handler?


Regards,

Aurélien
Mime
View raw message