Re: [GENERAL] Permissions for Web App

Поиск
Список
Период
Сортировка
От Igal @ Lucee.org
Тема Re: [GENERAL] Permissions for Web App
Дата
Msg-id c247db82-d599-a3e3-57be-6c6c36928479@lucee.org
обсуждение исходный текст
Ответ на Re: [GENERAL] Permissions for Web App  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: [GENERAL] Permissions for Web App  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-general
On 10/9/2017 10:51 AM, David G. Johnston wrote:
On Mon, Oct 9, 2017 at 9:44 AM, Igal @ Lucee.org <igal@lucee.org> wrote:
But I want to give that role permissions on future tables since I add new tables and drop/recreate current ones.

​ALTER DEFAULT PRIVILEGES​


It worked, thanks!

For future reference and for the benefit of others, the command that I ran is:

  ALTER DEFAULT PRIVILEGES IN SCHEMA public
    GRANT SELECT, INSERT, UPDATE, DELETE ON TABLES TO webapp;


Igal Sapir
Lucee Core Developer
Lucee.org

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: [GENERAL] Using cp to back up a database?
Следующее
От: Christophe Pettus
Дата:
Сообщение: [GENERAL] startup process stuck in recovery