How quickly could we get it in? Hours, days?

On Sun, Feb 12, 2012 at 1:47 AM, Jason Smith <[email protected]> wrote:

> Hi, Jason. Excellent idea! However I wouldn't say that is a blocker
> for 1.2.0 either. It could go in 1.2.1.
>
> On Sun, Feb 12, 2012 at 8:45 AM, Jason Smith <[email protected]> wrote:
> > Since _users is the only database of this kind (_replicator uses a
> > different policy, right?) I agree with you. _design/_auth should have
> > a view that everyone can access. I'm unsure but at the moment I'm
> > thinking a view that you can simply activate via Futon.
> >
> > function(doc) {
> >  // User-serviceable code
> >  var enabled = false // Set to true to reveal usernames
> >  var whitelist = [] // Add keys to reveal here.
> >
> >  // Not user-serviceable code
> >  if(!enabled)
> >    return
> >
> >  var val = {}
> >  whitelist.forEach(function(key) {
> >    if(key in doc)
> >      val[key] = doc[key]
> >  })
> >
> >  emit(doc._id, val)
> > }
>
> --
> Iris Couch
>

Reply via email to