Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 10265 invoked from network); 27 Feb 2011 18:52:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Feb 2011 18:52:42 -0000 Received: (qmail 30042 invoked by uid 500); 27 Feb 2011 18:52:40 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 29830 invoked by uid 500); 27 Feb 2011 18:52:38 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 29822 invoked by uid 99); 27 Feb 2011 18:52:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Feb 2011 18:52:37 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robert.newson@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Feb 2011 18:52:31 +0000 Received: by bwj24 with SMTP id 24so3502480bwj.11 for ; Sun, 27 Feb 2011 10:52:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=8VxYy7nkbOsHTmG1jsp4E4SGyHiIShTvlUD1JwGH0pw=; b=b10a5PQmXyk0PPaYsFQ6o2z/KwcTT54Lgm6nKZcZUebum/10NvOoeDTt1SK4Z/NNGG 4ulf418+rQqR3KyQnWost6hld6S6ov6/JsUzFPuSmkh531M/RtqX1sWV51JHjwv8ehBm Ehv2Pi4NxcAMoZJFgvNWCg+FySMPLYLg5Zl28= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=CUv6uZ3kxow2vTlmzN9Zv+wkpG7fuYKNt9IXDJNNEAZNHU3HTdIsJ7iLNkGA+mj7Iw hA5u6eeY1Zfm8ILsuZfQiSY6VNe+ybbHgTZnou7hVwslVRPHO6Opjjp3tmsmDL8vEZG7 CI1MeM2rn2C7TqJzuHAmmRCpG5Ljrq0xBRzhE= MIME-Version: 1.0 Received: by 10.204.128.200 with SMTP id l8mr3905117bks.60.1298832729585; Sun, 27 Feb 2011 10:52:09 -0800 (PST) Received: by 10.204.14.193 with HTTP; Sun, 27 Feb 2011 10:52:09 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 13:52:09 -0500 Message-ID: Subject: Re: Detecting changes to admins/readers on a DB From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 No, it won't, updates to the /db/_security resource don't appear in changes feed nor does it send a notification on update. B. On 27 February 2011 13:41, Ryan Ramage wrote: > Its not so much about a new user....but a changes to each db security > object that I want to detect. > > > Will the /_users/_changes feed emit changes when someone does a put to > put to /test/_security ? > > On Sun, Feb 27, 2011 at 11:34 AM, Robert Newson wrote: >> The _users db has a changes feed (/_users/_changes), does that help? :) >> >> B. >> >> On 27 February 2011 12:38, Ryan Ramage wrote: >>> Hi all, >>> >>> Just wondering if there is a way to listen to (like a changes feed) >>> for the security object on a db. >>> I will have a server full of dbs and I want to be able to know when a >>> user has been added (or removed) from a db security object so I can >>> send them >>> an email. >>> >>> A side question would be a query to find all the dbs a user has >>> permissions on. I can brute force it by getting each security object >>> on all dbs, but is there a single query? >>> >>> Cheers >>> >>> Ryan >>> >> >