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

From Igal @ Lucee.org
Subject Re: [GENERAL] Permissions for Web App
Date
Msg-id d8bc008c-7281-a244-5673-19c3c082d526@lucee.org
Whole thread Raw
In response to Re: [GENERAL] Permissions for Web App  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
On 10/13/2017 11:21 AM, David G. Johnston wrote:
On Fri, Oct 13, 2017 at 11:03 AM, Igal @ Lucee.org <igal@lucee.org> wrote:
You mean that if I execute the ALTER DEFAULT command above as user `postgres` then only tables created by user `postgres` will give default privileges to role `webapp`?

​Yes.  "​You can change default privileges only for objects that will be created by yourself or by roles that you are a member of."

You use the "FOR <target_role>" modifier if you want the "or by roles that you are a member of" portion to be used.


Thank you for clarifying,


Igal Sapir
Lucee Core Developer
Lucee.org

pgsql-general by date:

Previous
From: Seamus Abshere
Date:
Subject: Re: [GENERAL] "Shared strings"-style table
Next
From: "Igal @ Lucee.org"
Date:
Subject: [GENERAL] Multiple Schemas vs. Multiple Databases