Can a role have indirect ADMIN OPTION on another role?

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Can a role have indirect ADMIN OPTION on another role?
Date: 2023-09-06 09:27:11
Message-ID: CAE9k0PndzHkJ4VpNEGbNwKnVCpqwoX+Tfjd-RgGCGFpfA_TWkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

In PG-16, I see that we have made a lot of changes in the area roles
and privileges. I have a question related to this and here is my
question:

Let's say there is a roleA who creates roleB and then roleB creates
another role, say roleC. By design, A can administer B and B can
administer C. But, can A administer C although it has not created C?

--
With Regards,
Ashutosh Sharma.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Quan Zongliang 2023-09-06 09:56:28 Re: Improving the heapgetpage function improves performance in common scenarios
Previous Message Amit Kapila 2023-09-06 09:26:44 Re: [PoC] pg_upgrade: allow to upgrade publisher node