Re: path based authentification in rewriter

2010-08-06 Thread J Chris Anderson
On Aug 6, 2010, at 4:25 AM, Benoit Chesneau wrote: > Hi all; > > I've written this patch sometimes ago that add path authentification > to _rewrite handler : > > > http://github.com/benoitc/couchdb/commit/9c15cf8ed710db3805bd1a7d792ba53457cb9c48 > > > So if you have a rule : > > { > "from"

path based authentification in rewriter

2010-08-06 Thread Benoit Chesneau
Hi all; I've written this patch sometimes ago that add path authentification to _rewrite handler : http://github.com/benoitc/couchdb/commit/9c15cf8ed710db3805bd1a7d792ba53457cb9c48 So if you have a rule : { "from": "/somepath", "to": "/path", "roles": ["_admin", "somerole"] } It will t