Backing out of privilege grants rabbit hole

From: AC Gomez <antklc(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Backing out of privilege grants rabbit hole
Date: 2020-04-03 03:34:32
Message-ID: CABtmK-gif5ThuF+h9GUJQi8O1_eAWvK7+aC4+h73utkW=Qp8XQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guyren Howe 2020-04-03 03:37:00 Re: Backing out of privilege grants rabbit hole
Previous Message Adrian Klaver 2020-04-02 23:00:12 Re: Could someone please help us share the procedure to troubleshoot the locks on proc issues.