Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3kMz-0000Ta-Bq for pgsql-general@arkaria.postgresql.org; Thu, 06 Aug 2020 18:12:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k3kMy-0006nq-Ae for pgsql-general@arkaria.postgresql.org; Thu, 06 Aug 2020 18:12:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3kMy-0006nj-2n for pgsql-general@lists.postgresql.org; Thu, 06 Aug 2020 18:12:00 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3kMv-0004QH-6f for pgsql-general@lists.postgresql.org; Thu, 06 Aug 2020 18:11:59 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id C43C1C2F17 for ; Thu, 6 Aug 2020 18:11:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo04-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo04-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X314ev568BQR for ; Thu, 6 Aug 2020 18:11:54 +0000 (UTC) Received: from shr-macbook-pro.local (unknown [4.28.96.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 4A5F5C0441 for ; Thu, 6 Aug 2020 18:11:53 +0000 (UTC) From: Scott Ribe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: privileges oddity Message-Id: Date: Thu, 6 Aug 2020 12:11:53 -0600 To: PostgreSQL General X-Mailer: Apple Mail (2.3608.120.23.2.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk when user akanzler tries to run query "SELECT * FROM = zoewang.sometable...", it triggers this error: 2020-08-06 17:27:27.664 UTC [15914]: [3] = user=3Dakanzler,db=3Drisk_oltp_prod,app=3D[unknown],client=3D10.8.170.24: = ERROR: permission denied for schema zoewang at character 15 --- YET --- risk_oltp_prod=3D# \dn+ zoewang List of schemas Name | Owner | Access privileges | Description ---------+----------+------------------------+------------- zoewang | srv_risk | srv_risk=3DUC/srv_risk +| | | akanzler=3DUC/srv_risk +| | | srv_risk_ro=3DU/srv_risk | (1 row) HUH? (And the user also has all privs on all the tables in the = schema...) -- Scott Ribe scott_ribe@elevated-dev.com https://www.linkedin.com/in/scottribe/