Re: privileges oddity - Mailing list pgsql-general

From Tom Lane
Subject Re: privileges oddity
Date
Msg-id 2636627.1596738120@sss.pgh.pa.us
Whole thread Raw
In response to privileges oddity  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: privileges oddity
List pgsql-general
Scott Ribe <scott_ribe@elevated-dev.com> writes:
> 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 

Gonna need more context.  The session-level user seems to have the
right privileges, but maybe something is happening inside a
security-definer function that doesn't have privileges?

            regards, tom lane



pgsql-general by date:

Previous
From: Scott Ribe
Date:
Subject: privileges oddity
Next
From: Adrian Klaver
Date:
Subject: Re: privileges oddity