pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Joe Conway <mail@joeconway.com>
To: richard coleman <rcoleman.ascentgl@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: how to list privileges on the database object itself via SQL?
Date: Mon, 01 May 2023 06:09:57 +0200
Message-ID: <a62a814c9eeb063129efff63d654909a77520b2b.camel@cybertec.at> (raw)
In-Reply-To: <4bb118ef-23c6-46e1-3938-91b660ff6047@joeconway.com>
References: <CAGA3vBvanu7UBtaaVv9PH25Ko==5F2wewhPWTTra8wqexdDAdQ@mail.gmail.com>
	<870558.1682527243@sss.pgh.pa.us>
	<CAGA3vBvjUiUb+O-UWYU8VNrrPrLrwz+KOg3zqwiWTAAkTChX_A@mail.gmail.com>
	<875041.1682529779@sss.pgh.pa.us>
	<CAGA3vBsPQ8672wf99EGGWDAG4GBTcOpiJeCrJOypQ1sGG02Bvw@mail.gmail.com>
	<4bb118ef-23c6-46e1-3938-91b660ff6047@joeconway.com>

On Fri, 2023-04-28 at 09:25 -0400, Joe Conway wrote:
> On 4/26/23 13:50, richard coleman wrote:
> > Thanks for that.  It still seems rather weird that there isn't a more 
> > straightforward way to get access to that information.
> 
> Does this help?
> 
> https://github.com/CrunchyData/crunchy_check_access
> 
> For some examples of use:
> https://www.crunchydata.com/blog/postgresql-defaults-and-impact-on-security-part-1

There is also pg_permissions:
https://github.com/cybertec-postgresql/pg_permissions

Yours,
Laurenz Albe





view thread (26+ messages)

Message-ID: <a62a814c9eeb063129efff63d654909a77520b2b.camel@cybertec.at>
Permalink:  ../a62a814c9eeb063129efff63d654909a77520b2b.camel@cybertec.at/
Also on:    postgresql.org/message-id/a62a814c9eeb063129efff63d654909a77520b2b.camel@cybertec.at

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, mail@joeconway.com, rcoleman.ascentgl@gmail.com, tgl@sss.pgh.pa.us, pgsql-admin@lists.postgresql.org
  Subject: Re: how to list privileges on the database object itself via SQL?
  In-Reply-To: <a62a814c9eeb063129efff63d654909a77520b2b.camel@cybertec.at>

* 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