Re: [GENERAL] Permissions for Web App - Mailing list pgsql-general

From Igal @ Lucee.org
Subject Re: [GENERAL] Permissions for Web App
Date
Msg-id c247db82-d599-a3e3-57be-6c6c36928479@lucee.org
Whole thread Raw
In response to Re: [GENERAL] Permissions for Web App  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: [GENERAL] Permissions for Web App  (Stephen Frost <sfrost@snowman.net>)
List 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 by date:

Previous
From: Ron Johnson
Date:
Subject: Re: [GENERAL] Using cp to back up a database?
Next
From: Christophe Pettus
Date:
Subject: [GENERAL] startup process stuck in recovery