From user-return-13878-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Nov 23 06:10:24 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 70469 invoked from network); 23 Nov 2010 06:10:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Nov 2010 06:10:23 -0000 Received: (qmail 16858 invoked by uid 500); 23 Nov 2010 06:10:53 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 16661 invoked by uid 500); 23 Nov 2010 06:10:52 -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 16620 invoked by uid 99); 23 Nov 2010 06:10:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 06:10:51 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeffgorder@gmail.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-ew0-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 06:10:43 +0000 Received: by ewy4 with SMTP id 4so4353829ewy.11 for ; Mon, 22 Nov 2010 22:10:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=8ydOGLxRS6JvDKaBm2OOyW2lpjfja0OkHn9Xg4paLiI=; b=e5cCnoRfQGjj7EJkkmA7VRBt4Cd2Jk3yI6pFlavf3Kv9NcjQQ3RBUxqQbUuxbos+IM /fGOx+2Z6i8jGOUSgyGAsFF2wAOV63haNEZwFKVt69cFljx5TCaNWr/4FyY3tld474Hk Gau1xP4ttbTiFao1220W0raxwwMfbBVVN2yME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=mjpOx7yKEkNQ3TjrCOKh0g3Q+3znk7N1W6Hayto7eQyhjNtMn44EQzdvOS+t3AvsMS edcVGUp0qGGwip9P2tJ7U+7EnI07ikMNO6JfxVRWXf40HhHD/hkADEClPIPnzE/0/xLo Z1Uje7RgHzndbT5rPXOu+i02fE/onP06/nYe4= Received: by 10.213.34.210 with SMTP id m18mr5880855ebd.60.1290492622403; Mon, 22 Nov 2010 22:10:22 -0800 (PST) Received: from d54c48540.access.telenet.be (d54C48540.access.telenet.be [84.196.133.64]) by mx.google.com with ESMTPS id v51sm5450046eeh.10.2010.11.22.22.10.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Nov 2010 22:10:20 -0800 (PST) From: Jeff Gorder Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Creating databases on demand Date: Tue, 23 Nov 2010 07:10:18 +0100 Message-Id: <1CE29F2F-7669-414C-9D02-D75B7BF2AA06@gmail.com> To: user@couchdb.apache.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) I have a case where there is a main public database that serves my = application and then will need to have a private database for each user. = I've gotten this to work manually and automatically when logged in as a = server admin. I understand that there are server admins that have full control over = the installation and that they are managed by making entries into the = .ini file and that there are database admins as well. In the "Definitive = Guide" it's made clear that only admin users are allowed to create = databases and design documents but it's not clear if those are server = admins, database admins, or both. How do I create the database/design doc for a new user? It's not = practical to require someone who is a server admin to log on to Futon to = do it. If a user is a database admin in the main application database, = does that give them permission to create a new database? The second question is how to access the database ACL. I have found that = it's stored at dbasename/_security but haven't found any documentation = about an API to it. Is there one? Thanks