Re: Granting Privleges on All Tables in One Comand?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Granting Privleges on All Tables in One Comand?
Дата
Msg-id 200601120443.k0C4hHt07293@candle.pha.pa.us
обсуждение исходный текст
Ответ на Granting Privleges on All Tables in One Comand?  ("Adam" <adam@spatialsystems.org>)
Ответы Re: Granting Privleges on All Tables in One Comand?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Adam wrote:
> Is it possible to 'GRANT SELECT ON ALL TABLES TO User' in 1 command ?
>
> I saw the question in 2003 and wonder if it's still true.

Still true, but on the TODO list:

        o %Allow GRANT/REVOKE permissions to be applied to all schema objects
          with one command

          The proposed syntax is:
                GRANT SELECT ON ALL TABLES IN public TO phpuser;
                GRANT SELECT ON NEW TABLES IN public TO phpuser;

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Assad Jarrahian
Дата:
Сообщение: sql (Stored procedure) design question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: sql (Stored procedure) design question