privileges oddity - Mailing list pgsql-general

From Scott Ribe
Subject privileges oddity
Date
Msg-id C2C6B9DD-6EFD-49DA-8673-1BBDA260329D@elevated-dev.com
Whole thread Raw
Responses Re: privileges oddity
Re: privileges oddity
Re: privileges oddity
List pgsql-general
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:
permissiondenied 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/






pgsql-general by date:

Previous
From: David Gauthier
Date:
Subject: Can PAF be used to provide zero downtime while primary and backup servers are being patched?
Next
From: Tom Lane
Date:
Subject: Re: privileges oddity