couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nebu Pookins <>
Subject Re: Question about validator functions and replication
Date Mon, 28 Mar 2011 15:24:28 GMT
On Fri, Mar 25, 2011 at 1:52 PM, Stefan Klein
<> wrote:
> Am 25.03.2011 16:37, schrieb Nebu Pookins:
>> 1) When a user downloads their own instance of the CouchApp, it's
>> "tied" to that user. Bob cannot use Alice's copy of the CouchApp to
>> blog; but if Alice had the foresight to download a copy both under her
>> account and under Bob's account, then they can still share a laptop
>> for offline access, although in different copies of the app.
> Not sure if it will fit your needs, but there also is solution 3:
> Have 4 (filtered) replications.
> One pair using Alices credentials pulling/pushing Alices blogposts and
> another two using Bobs credentials to push/pull his blogposts.
> For the "main" server there is no difference if the user is logged in using
> the webinterface, curl, whatever or if it's his replication.

Hi Stefan,

Thanks for your input. It seems to me that your solution 3 is similar
(though not identical) to solution 1, in that it has the same
disadvantages of requiring each user having their own instance of
CouchDB installed.

- Nebu

View raw message