Re: About revoking large number of privileges; And the PUBLIC role.

2022-07-07 Thread Laurenz Albe
On Thu, 2022-07-07 at 16:36 +0200, Dominique Devienne wrote: > > > So my goal is to delete all those "db specific" ROLEs, then the DB > > > with all its schemas. > > > Which implies REVOKE'ing grants on all those "db specific" ROLEs first. > > > > You should not really have to revoke those manuall

Re: About revoking large number of privileges; And the PUBLIC role.

2022-07-07 Thread Dominique Devienne
On Thu, Jul 7, 2022 at 3:52 PM Tom Lane wrote: > > Dominique Devienne writes: > > Hi. I'm struggling to delete databases because of grants to roles on > > objects of those DBs. > > > These DBs can have a large'ish number of schemas, 100-300 is typical. > > and define a bunch of ROLEs "specific" t

Re: About revoking large number of privileges; And the PUBLIC role.

2022-07-07 Thread Tom Lane
Dominique Devienne writes: > Hi. I'm struggling to delete databases because of grants to roles on > objects of those DBs. > These DBs can have a large'ish number of schemas, 100-300 is typical. > and define a bunch of ROLEs "specific" to those schemas. Normally "login user" > ROLEs are never gran

About revoking large number of privileges; And the PUBLIC role.

2022-07-07 Thread Dominique Devienne
Hi. I'm struggling to delete databases because of grants to roles on objects of those DBs. These DBs can have a large'ish number of schemas, 100-300 is typical. and define a bunch of ROLEs "specific" to those schemas. Normally "login user" ROLEs are never granted explicit access to objects, instea