couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject Re: proposal: Using the db hooks in other databases
Date Wed, 04 Jan 2012 23:24:39 GMT
On Thu, Jan 5, 2012 at 12:05 AM, Benoit Chesneau <> wrote:

> I don't think there is a need for that. In fact a a design document is
> a document like the others. Since it's always opened by `_design`
> functions, views and others are already handled in
> before_update/after_read.

By that I mean that the simpler auth schema would be to only
authenticate a group of user to use a design doc and all the views in.
It's more efficient and scalable to do like this anyway than testing
on each results coming from a view.

- benoît

View raw message