incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amedeo Paglione <amedeo.pagli...@gmail.com>
Subject Re: Write-only for users?
Date Sun, 13 Feb 2011 23:31:10 GMT
+1

This is the way used by Ubuntu One if I am not wrong.

--
Amedeo




On Mon, Feb 14, 2011 at 00:06, Janez Štupar <janez.stupar@gmail.com> wrote:

> +1
>
> this is the Couch way
>
> On Sun, Feb 13, 2011 at 11:44 PM, Jonathan Stott
> <jonathan.stott@gmail.com>wrote:
>
> > Hi Jonathan
> >
> > One way to accomplish this is to give each user their own database.
> > They (and only they + admin) can both read and write from this
> > database.  For operations that need to be performed on the whole
> > database, the admin can replicate each of the individual databases to
> > a 'master' database only they can read.
> >
> > Regards
> > Jon
> >
> > On 13 February 2011 21:52, Jonathan Geddes <geddes.jonathan@gmail.com>
> > wrote:
> > > couchdb users,
> > >
> > > I'm thinking of using a couchapp for an upcoming project, but there is
> > > one capability that I'm unsure of.
> > >
> > > I need a database that anyone can post to, but only admin can read
> > > from. The requirement is to allow users to post personal information
> > > that other users cannot see. If I understand the couchdb permissions
> > > model correctly, for a given db, anyone who can create documents can
> > > also read documents.
> > >
> > > Is there a way to do this with a couchapp? It seems a shame to have to
> > > add "middleware" just to get this one capability.
> > >
> > > thanks,
> > >
> > > --Jonathan
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message