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

From David G. Johnston
Subject Re: [GENERAL] Permissions for Web App
Date
Msg-id CAKFQuwYjjwpaXRRzpf9pn5YRXSnAGBWOQ444BukMUSxDvno+mw@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] Permissions for Web App  ("Igal @ Lucee.org" <igal@lucee.org>)
Responses Re: [GENERAL] Permissions for Web App  ("Igal @ Lucee.org" <igal@lucee.org>)
List pgsql-general
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.

David J.

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] "Shared strings"-style table
Next
From: Thomas Kellerer
Date:
Subject: Re: [GENERAL] "Shared strings"-style table