Idle thought, but perhaps making views based on roles might be the way to go.
Paul On Sun, Jun 14, 2009 at 4:11 PM, Damien Katz<[email protected]> wrote: > Per-document reader access likely won't be 1.0 feature. It's not hard to add > the restriction to the database, but it's much harder to add it to the view > engine to filter out docs from maps and reductions that the user cannot > read. > > -Damien > > On Jun 14, 2009, at 2:39 PM, Avi Flax wrote: > >> Hi All, >> I'm thinking of building an app using CouchDB, but I need to be able to >> restrict certain users from retrieving certain docs and views. As far as I >> can tell from searching the web, the mailing list, and the wiki, that >> feature's not yet built. >> >> I know I could achieve the desired features by building a server-side >> "proxy" app which would validate requests before passing them to Couch, >> but one of the things that attracts me to CouchDB is the possibility of >> building 2-tier apps instead of 3 tiers; i.e. just DOM/Javascript and >> Couch. >> >> So I'm just wondering: does anyone have a sense of when this functionality >> might be landing in trunk? >> >> Thanks! >> Avi >> >> -- >> Avi Flax » Partner » Arc90 » http://arc90.com > >
