Re: CREATEROLE users vs. role properties

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: CREATEROLE users vs. role properties
Дата
Msg-id CA+TgmoZ6XEcsL6Gt5Yq22ciVa0D_67Xq1RJSEAN_X4AmH+b9PQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: CREATEROLE users vs. role properties  (tushar <tushar.ahuja@enterprisedb.com>)
Ответы Re: CREATEROLE users vs. role properties  (tushar <tushar.ahuja@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: ANY_VALUE aggregate
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: [PoC] Improve dead tuple storage for lazy vacuum