Re: Backing out of privilege grants rabbit hole - Mailing list pgsql-general

From Guyren Howe
Subject Re: Backing out of privilege grants rabbit hole
Date
Msg-id C4EC1CAB-62B2-458E-BF51-B187754AAF5B@gmail.com
Whole thread Raw
In response to Backing out of privilege grants rabbit hole  (AC Gomez <antklc@gmail.com>)
Responses Re: Backing out of privilege grants rabbit hole
Re: Backing out of privilege grants rabbit hole
List pgsql-general
https://www.postgresql.org/docs/12/sql-drop-owned.html

On Apr 2, 2020, at 20:34 , AC Gomez <antklc@gmail.com> wrote:

Do I understand correctly that if a role was assigned countless object privileges and you want to delete that role you have to sift through a myriad of privilege grants in what amounts to a time consuming trial and error exercise until you've got them all?

Or is there a single command that with just delete the role and do a blanket grant removal at the same time?
ul[class*='mb-extra__public-links'], ul[class*='mb-note__public-links'], ul[class*='mb-task__public-links'] { display: none !important; }

pgsql-general by date:

Previous
From: AC Gomez
Date:
Subject: Backing out of privilege grants rabbit hole
Next
From: Guyren Howe
Date:
Subject: Re: Backing out of privilege grants rabbit hole