public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Ashutosh Sharma <[email protected]>
Cc: Robert Haas <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: Can a role have indirect ADMIN OPTION on another role?
Date: Wed, 6 Sep 2023 15:13:33 -0700
Message-ID: <CAKFQuwbcQi7edvCWDnHroy8pFD8qLHVqNm9fkHv0sYOUB=bvgQ@mail.gmail.com> (raw)
In-Reply-To: <CAE9k0PkfvSfH2GOaUbckZUudSs6Tc3DJgER5csPk1fXLsXERQQ@mail.gmail.com>
References: <CAE9k0PndzHkJ4VpNEGbNwKnVCpqwoX+Tfjd-RgGCGFpfA_TWkw@mail.gmail.com>
	<CA+TgmoYy8gQnwncPAFbB=DYD2Msp2WoahNr6KkygVGWqk-OQhw@mail.gmail.com>
	<CAE9k0PkfvSfH2GOaUbckZUudSs6Tc3DJgER5csPk1fXLsXERQQ@mail.gmail.com>

On Wed, Sep 6, 2023 at 1:55 PM Ashutosh Sharma <[email protected]>
wrote:

> But what if roleB doesn't want to give roleA access to
> the certain objects it owns.


Not doable - roleA can always pretend they are roleB one way or another
since roleA made roleB.

David J.


view thread (6+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Can a role have indirect ADMIN OPTION on another role?
  In-Reply-To: <CAKFQuwbcQi7edvCWDnHroy8pFD8qLHVqNm9fkHv0sYOUB=bvgQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox