Re: CREATEROLE users vs. role properties - Mailing list pgsql-hackers

From Robert Haas
Subject Re: CREATEROLE users vs. role properties
Date
Msg-id CA+TgmoZ6XEcsL6Gt5Yq22ciVa0D_67Xq1RJSEAN_X4AmH+b9PQ@mail.gmail.com
Whole thread Raw
In response to Re: CREATEROLE users vs. role properties  (tushar <tushar.ahuja@enterprisedb.com>)
Responses Re: CREATEROLE users vs. role properties
List pgsql-hackers
On Thu, Jan 19, 2023 at 6:15 AM tushar <tushar.ahuja@enterprisedb.com> wrote:
> postgres=# create role fff with createrole;
> CREATE ROLE
> postgres=# create role xxx;
> CREATE ROLE
> postgres=# set role fff;
> SET
> postgres=> alter role xxx with createrole;
> ERROR:  permission denied
> postgres=>

Here fff would need ADMIN OPTION on xxx to be able to make modifications to it.

See https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=cf5eb37c5ee0cc54c80d95c1695d7fca1f7c68cb

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: ANY_VALUE aggregate
Next
From: Masahiko Sawada
Date:
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum