pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: privileges oddity
Date: Thu, 6 Aug 2020 12:11:53 -0600
Message-ID: <C2C6B9DD-6EFD-49DA-8673-1BBDA260329D@elevated-dev.com> (raw)

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=akanzler,db=risk_oltp_prod,app=[unknown],client=10.8.170.24: ERROR:  permission denied for schema zoewang at character 15

--- YET ---

risk_oltp_prod=# \dn+ zoewang
                     List of schemas
 Name   |  Owner   |   Access privileges    | Description
---------+----------+------------------------+-------------
zoewang | srv_risk | srv_risk=UC/srv_risk  +|
        |          | akanzler=UC/srv_risk  +|
        |          | srv_risk_ro=U/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/








view thread (31+ messages)  latest in thread

Message-ID: <C2C6B9DD-6EFD-49DA-8673-1BBDA260329D@elevated-dev.com>
Permalink:  ../C2C6B9DD-6EFD-49DA-8673-1BBDA260329D@elevated-dev.com/
Also on:    postgresql.org/message-id/C2C6B9DD-6EFD-49DA-8673-1BBDA260329D@elevated-dev.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: scott_ribe@elevated-dev.com
  Subject: Re: privileges oddity
  In-Reply-To: <C2C6B9DD-6EFD-49DA-8673-1BBDA260329D@elevated-dev.com>
  References: <C2C6B9DD-6EFD-49DA-8673-1BBDA260329D@elevated-dev.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox