couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject path based authentification in rewriter
Date Fri, 06 Aug 2010 11:25:10 GMT
Hi all;

I've written this patch sometimes ago that add path authentification
to _rewrite handler :

So if you have a rule :

  "from": "/somepath",
  "to": "/path",
  "roles": ["_admin", "somerole"]

It will test user roles against this patch and allow the use to see the
result only if he's authorized. It handle only roles for now, but adding
usernames could be easy too.

Do you think It worth to make it upstream ? (ie commit it in trunk)

Let me know.

- benoƮt

View raw message