Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1evx2u-0001SV-Eu for pgsql-admin@arkaria.postgresql.org; Wed, 14 Mar 2018 03:25:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1evx2s-0002b9-EC for pgsql-admin@arkaria.postgresql.org; Wed, 14 Mar 2018 03:25:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1evsqa-0005xD-76 for pgsql-admin@lists.postgresql.org; Tue, 13 Mar 2018 22:56:44 +0000 Received: from sonic314-47.consmr.mail.gq1.yahoo.com ([98.137.69.110]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1evsqX-0005BX-4a for pgsql-admin@lists.postgresql.org; Tue, 13 Mar 2018 22:56:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1520981798; bh=GqHRs7eqYPcFLdyQJ5pgUGCaDnYRp8qlFuJz8vyDcto=; h=Date:From:To:Subject:References:From:Subject; b=X/A+xwmJuPhObJ4cS4Kf55Ngqyp+Al+dalv164/SLUH9iDJe+KDx4Y0TFvhZqvj/1031QUqU5O0GVbt6CtTuvYRpiA/8aXKQ8ZmwsPAHsoy2NFfw8cVQKZtIVjlf9Uhtb1m8z+3+kpS0Aje7SzK/V7KinB04PyRSFNC9N5qfKgA/P2HSRYTu2Z37IqvHTVm049e1nL0QNP0+KgEB4yApYhi/xrT5YuDQbhVkaDxygD4P4u0uc6fsEtLHyqXAQgmQA3+Wu41aENInW+39hP3j6rxKz4thrLwu1uiVCuz3Wou7QyBqY3qg/N648+8+yYwOHPv1CVB+00O/izYF1tArWg== X-YMail-OSG: DRgcraoVM1m4CRSkoNgRVgnYZOkCUaOPdAVChOnfALQJuM0d3wPZLag6mWC_OEB yeqgRn.0XQtl5nUau88OjHYhAT3WxC1kpf1a05cVw6OK8i56BhGtxk.pX0I7D6Ak6_pZSK9Icy3U MOrzt7OZSfNv8z0my6VpjXIm4H7t5466Smen_jcfxG3bWuHVToHxCUWpUO4XlmDHT5ZIB2lx8w9R 2ox_4QeAnfbLqE2U5nGteJ7gdreXnQq8Fk6CiNdsGqgc8VzIZXJ7o1fvvxsODBNk5ui_XJcBZg0A l6Emn1qF5wGzN39cqziab0ZC.uVe28Jg6a3mXK7HuY2l6YGA6uukcTe50lRw6F9f2Qo42CoLVjub jwuawSQ.hi1AmIA.sONgVGIkvanBtuuTEWdvTZy6UBYZpLpT03MMjMdrgWZYEd5ZAytvjZVfiaaD 7ZzeMuEWHxX6PP9PH5BglTyy1MXH2f1pW0Yu0ejaQL3IY5jZF9tnsDBg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Tue, 13 Mar 2018 22:56:38 +0000 Date: Tue, 13 Mar 2018 22:52:37 +0000 (UTC) From: Richard Gbs To: "pgsql-admin@lists.postgresql.org" Message-ID: <1773055302.387801.1520981557054@mail.yahoo.com> Subject: Permission issues. Please help MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_387800_91336221.1520981557053" References: <1773055302.387801.1520981557054.ref@mail.yahoo.com> X-Mailer: WebService/1.1.11573 YMailNorrin Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36 Content-Length: 2035 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_387800_91336221.1520981557053 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am stumped. I have been trying to create some users/roles with privs and am having no l= uck. I have tried all the combinations of alter, grants etc with no luck. Here is my issues. database "mydb" in schema "public" is owned=C2=A0 user1 there is also a user2 and user3=C2=A0 The problem is that if user1 create a table in the database user2 and user3= get permission denied for selects and inserts. etc ... And if user2 create= s a table user1 and user3 get permission denied. etc ... I need to have user1,2 and 3 have all the same privileges against any obeje= ct in the database created by any of them. Can someone give a high level approach to this please? thanks RG ------=_Part_387800_91336221.1520981557053 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am stumped.

I have been trying to create some users/roles with privs and am havi= ng no luck. I have tried all the combinations of alter, grants etc with no = luck.

Here is my issues.

= database "mydb" in schema "public" is owned  user1

there is also a user2 and user3 

The pr= oblem is that if user1 create a table in the database user2 and user3 get p= ermission denied for selects and inserts. etc ... And if user2 creates a ta= ble user1 and user3 get permission denied. etc ...

I need to have user1,2 and 3 have all the same privileges against any obej= ect in the database created by any of them.

Can so= meone give a high level approach to this please?

t= hanks

RG
------=_Part_387800_91336221.1520981557053--