From user-return-31634-archive-asf-public=cust-asf.ponee.io@couchdb.apache.org Sun Aug 12 14:13:19 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id BE0EB18061A for ; Sun, 12 Aug 2018 14:13:18 +0200 (CEST) Received: (qmail 58535 invoked by uid 500); 12 Aug 2018 12:13:17 -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 58523 invoked by uid 99); 12 Aug 2018 12:13:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2018 12:13:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6B0FC1A14BA for ; Sun, 12 Aug 2018 12:13:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.869 X-Spam-Level: * X-Spam-Status: No, score=1.869 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id NtkDkqcU8mod for ; Sun, 12 Aug 2018 12:13:15 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 56EDB5F30E for ; Sun, 12 Aug 2018 12:13:15 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id y207-v6so22851888oie.13 for ; Sun, 12 Aug 2018 05:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=/2xxiXs5MpHoQ1yFKmaRWGVbn1ncMqN3QoiFzxDeXyg=; b=bPfMwoChO+5VLVDsKBU+D1+YaOpTAYgqlTiWgbk3OIZB36fK+cjOqZWcQtsH8tL1ig RnVyrpZhXfDCLGL/SGC0xM1nursS8/cibUH2bIIHsplWe5GYY5q1o1rN12MB93aHrMlF uQhSClaKrA2d0eZsNEu5TtOmjfuMUw6023Z5B7dAy/ffs/UkrcCpE0DIpcLjGnkPvqrV pHgtvrNK+meOCLxFAw/uo7viCDdrxilkmZe5xfSUc2/5GGcQD/VZg8YZE3BQhYZiJvEy Ilj2JT0Y2NnZDg6MdxsKyS8vs7B1qKXi2eQ4MiZk5yziMg5j/P8CkfqrI6TkXHpnRH0o Jx4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/2xxiXs5MpHoQ1yFKmaRWGVbn1ncMqN3QoiFzxDeXyg=; b=elkDfFlWl6FDja4KvWP5bTLRz4KqaLQu+KqH01e9Pwih8wNebuZW6HxZ5Hkk8fTpD9 00LlSHb+GzBvmXp8ZVtIToa9XPMoyNkn0aH26k8Zb/RScD+xZeb4aZ6WMUcwok09cea9 GZ2ajA/Wn4uws6yGmGTb3H3XZWn7Xma+A40g8YR1okCSAb9IexvJ3xotMs5s29Mqtycm i3MkVMvKrXVjCZ9MeaLEl22DVDldaauTeXEg4ehxGdB0Cu3l5iXVCpiU24bzW6wck7G5 VRcZGx+twUcajZc87vtK9p/GXpPt17mbHeSBpj+Hzb6h4yRolER+XMZ+yvjRBAUwEXGf /eKg== X-Gm-Message-State: AOUpUlFelYGE4oS86RjkLwyFZT1JBtQqjlIZ3wB3N+iBhzyDMsNDsjp3 bYdd54qDn6O5Nc/zpoS5zPuSzuvAxkimnepP35yk+A== X-Google-Smtp-Source: AA+uWPwELQvI56y8H/IXXD5yq2ppqEhvbfR6DeZmd4IG97djeWc7K6DZhVnaLlArsScHXp07RHffa7mvptUk82KWoZA= X-Received: by 2002:aca:f516:: with SMTP id t22-v6mr14904275oih.56.1534075994534; Sun, 12 Aug 2018 05:13:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jan Bot Date: Sun, 12 Aug 2018 14:13:03 +0200 Message-ID: Subject: Re: PHP couchdb? To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary="000000000000b6775005733be636" --000000000000b6775005733be636 Content-Type: text/plain; charset="UTF-8" Op wo 1 aug. 2018 14:43 schreef Rene Veerman : > found it! :) > > https://github.com/ibm-watson-data-lab/php-couchdb > > > https://stackoverflow.com/questions/3684749/creating-regular-users-in-couchdb > > now that allows me to create users and set their roles, but i haven't found > yet how to edit the permissions on a given table (from PHP, using curl or > php-couchdb). i'd much appreciate some tips here. > > > On Wed, Aug 1, 2018 at 2:04 PM Rene Veerman > wrote: > > > What's a good way to connect to a couchdb from PHP? > > > > I've looked at PHP-on-Couch but it's GPL, and i want something MIT/LGPL > > licensed instead. > > > > I also need something that allows me to add users to the couchdb itself, > > and set permissions on new tables to specific users, > > or my app is never going to be secure. > > > --000000000000b6775005733be636--