Noinheritance with superuser

From: saket bansal <saket(dot)tcs(at)gmail(dot)com>
To: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Noinheritance with superuser
Date: 2021-06-04 03:13:05
Message-ID: CACkcRNgO5fPXQnwZwSgvDgbCX2Vum-NkTVYPBK=jnhFsgnQSaw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have an RDS instance with the below configuration.

create role role1 login noinheritance;
grant rds_superuser to rdsdba;
grant rdsdba to role1

In this case role1 is able to do all administrative operations, without the
need of switching to rdsdba.
Is this expected?
I do not find any document which says that inheritance does not work with
roles which have superuser role granted to it. Note that rdsdba is not a
superuser in itself, but only has a role which is superuser.

--

Thanks in advance.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message 久門 愛 2021-06-04 03:32:27 Please tell me about character code conversion.
Previous Message Tiffany Thang 2021-06-04 01:10:04 Re: Dropping dependent tables