[GENERAL] Permissions for Web App

Поиск
Список
Период
Сортировка
От Igal @ Lucee.org
Тема [GENERAL] Permissions for Web App
Дата
Msg-id dee3616a-24c6-8a4b-b7f9-66ed3a9ce427@lucee.org
обсуждение исходный текст
Ответы Re: [GENERAL] Permissions for Web App  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Hello,

I created a role named `webapp` as follows:

  CREATE ROLE webapp WITH LOGIN PASSWORD 'changeme';

While in development, I want to give that role permissions on all tables in schema public.  So far I've been using the following command, which works on existing tables:

  GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO webapp;

But I want to give that role permissions on future tables since I add new tables and drop/recreate current ones.

How can I do that?

Thanks,

Igal Sapir
Lucee Core Developer
Lucee.org

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: [GENERAL] Using cp to back up a database?
Следующее
От: Darren Douglas
Дата:
Сообщение: Re: [GENERAL] Using cp to back up a database?