From user-return-32113-archive-asf-public=cust-asf.ponee.io@couchdb.apache.org Sat Feb 8 23:11:38 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2497F180658 for ; Sun, 9 Feb 2020 00:11:38 +0100 (CET) Received: (qmail 47941 invoked by uid 500); 8 Feb 2020 23:11:36 -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 47924 invoked by uid 99); 8 Feb 2020 23:11:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Feb 2020 23:11:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 82D91C03E8 for ; Sat, 8 Feb 2020 23:11:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.285 X-Spam-Level: X-Spam-Status: No, score=0.285 tagged_above=-999 required=6.31 tests=[KAM_DMARC_STATUS=0.01, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Z61jxliInyn8 for ; Sat, 8 Feb 2020 23:11:32 +0000 (UTC) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=217.70.183.194; helo=relay2-d.mail.gandi.net; envelope-from=couchdb@wordit.com; receiver= Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 8D3B07E133 for ; Sat, 8 Feb 2020 23:11:31 +0000 (UTC) X-Originating-IP: 45.87.212.212 Received: from [10.12.12.9] (unknown [45.87.212.212]) (Authenticated sender: mailboxone@wordit.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 3B46040002 for ; Sat, 8 Feb 2020 23:11:23 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Marcus Mime-Version: 1.0 (1.0) Date: Sun, 9 Feb 2020 00:11:22 +0100 Subject: Controlling per-user access to data Message-Id: <9411CA04-E911-4CA0-91DE-367AD1837DFE@wordit.com> To: user@couchdb.apache.org X-Mailer: iPod touch Mail (17D50) Can anyone help with =EF=BF=BCper-user access to documents?=20 Imagine a to-do list app where lists are private by default, but can be shar= ed with others. One document per list would make sense, correct? Problem: Couchdb access control is per database, I cannot figure out a way t= o restrict read access to lists. Cloudant strongly advise against creating one database per user, unless it's= a very small number. They suggest a limit of 500 databases to not diminish p= erformance. Does anyone have a suggestion how I could control read access for each to-do= list? Thanks, Marcus