Re: Make grant all on all tables in schema x persistent for new tables

From: Steven Crandell <steven(dot)crandell(at)gmail(dot)com>
To: "S(dot) Bob" <sbob(at)quadratum-braccas(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Make grant all on all tables in schema x persistent for new tables
Date: 2019-02-18 19:11:21
Message-ID: CALvesgkUiHm3wQhRwQBxnJ-x13e2XDGTtpBKZjyXgpvGWuFpFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Feb 18, 2019 at 12:09 PM S. Bob <sbob(at)quadratum-braccas(dot)com> wrote:

> All;
>
>
> I can run a GRANT ALL ON ALL TABLES in SCHEMA X to USER Y
>
> which of course grants all privileges to the user Y on all tables in
> schema X
>
> How do I make this the default permission for all future tables created
> in schema X as well?
>
>
> Thanks in advance
>
>
>
Take a look at default privileges here:
https://www.postgresql.org/docs/current/sql-alterdefaultprivileges.html

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message soumitra bhandary 2019-02-19 09:13:51 Load balancing in postgres master slave HA cluster
Previous Message S. Bob 2019-02-18 19:09:15 Make grant all on all tables in schema x persistent for new tables