Re: Default Privilege Table ANY ROLE

From: Nicolas Paris <nicolas(dot)paris(at)riseup(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Default Privilege Table ANY ROLE
Date: 2018-11-14 21:10:00
Message-ID: 20181114210746.jojpcnpq4lwdmliz@riseup.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Nov 14, 2018 at 03:53:39PM -0500, Tom Lane wrote:
> Maybe I'm missing something, but doesn't this solve your problem
> as stated?
>
> ALTER DEFAULT PRIVILEGES IN SCHEMA myschema GRANT SELECT ON TABLES TO public;

Not sure that's equivalent to what I am looking for below (but is not allowed):

> ALTER DEFAULT PRIVILEGES FOR ROLE *.* IN SCHEMA "myschema" GRANT select ON TABLES TO "myuser"

--
nicolas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-11-14 23:24:12 Re: Java UnsatisfiedLinkError exception when connecting to Postgresql database
Previous Message Ron 2018-11-14 21:08:44 Re: pg_dump out of memory for large table with LOB