Re: Give default privileges to another SuperUser ?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Give default privileges to another SuperUser ?
Дата
Msg-id CAKFQuwYOdGZ6Hi_1NRyAV4YjVbTvuhQLvY+M=Gd0ZtJ5UBcmiQ@mail.gmail.com
обсуждение исходный текст
Ответ на Give default privileges to another SuperUser ?  (celati Laurent <laurent.celati@gmail.com>)
Список pgsql-general
On Thu, Feb 17, 2022 at 2:14 PM celati Laurent <laurent.celati@gmail.com> wrote:

ALTER DEFAULT PRIVILEGES IN SCHEMA XXX GRANT SELECT ON TABLES TO "user";

Does a person know how to give privileges to a SuperUser role so that when he creates a new table, whether in the public schema or another schema, the table will be by default visible,

ALTER DEFAULT PRIVILEGES
    [ FOR { ROLE | USER } target_role [, ...] ]

This use case is why the "FOR target_role" clause exists.

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: Shaozhong SHI
Дата:
Сообщение: frequency of positive and negative numbers, sizes of numbers and frequency of alteration of polarity
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: frequency of positive and negative numbers, sizes of numbers and frequency of alteration of polarity