You could do something like that utilizing the rewrite handler to prohibit access to documents and views (redirect all request to a show that tells users to sod off), while only allowing a PUT to the database and GET to the said show.
On Sun, Feb 13, 2011 at 10:52 PM, Jonathan Geddes <[email protected] > 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 >
